Beispiel #1
0
 public function testAddToName()
 {
     $email = new \SendGrid\Email();
     $email->addToName('Foo Bar');
     $this->assertEquals(['Foo Bar'], $email->toName);
     $email->addToName('Baz Bar');
     $this->assertEquals(['Foo Bar', 'Baz Bar'], $email->toName);
 }