Exemplo n.º 1
0
 public function test_that_it_can_set_and_get_to_address()
 {
     $toAddress = '*****@*****.**';
     $toName = 'To';
     $this->message->addTo($toAddress, $toName);
     $to = $this->message->getTo();
     $this->assertTrue($toAddress === $to[0]['address'] && $toName === $to[0]['name']);
 }