Ejemplo n.º 1
0
 public function testAddBccName()
 {
     $email = new \SendGrid\Email();
     $email->addBccName('Foo Bar');
     $this->assertEquals(['Foo Bar'], $email->bccName);
     $email->addBccName('Baz Bar');
     $this->assertEquals(['Foo Bar', 'Baz Bar'], $email->bccName);
 }