Example #1
0
 public function testAddBccName()
 {
     $email = new Email();
     $email->addBccName('Foo Bar');
     $this->assertEquals(array('Foo Bar'), $email->getBccNames());
     $email->addBccName('Baz Bar');
     $this->assertEquals(array('Foo Bar', 'Baz Bar'), $email->getBccNames());
 }