예제 #1
0
 public function testAddBccWithName()
 {
     $email = new Email();
     $email->addBcc('*****@*****.**', 'Person One');
     $this->assertEquals(array('*****@*****.**'), $email->getBccs());
     $this->assertEquals(array('Person One'), $email->getBccNames());
     $email->addBcc('*****@*****.**');
     $this->assertEquals(array('*****@*****.**', '*****@*****.**'), $email->getBccs());
     $this->assertEquals(array('Person One'), $email->getBccNames());
 }