コード例 #1
0
ファイル: MessageTest.php プロジェクト: novuso/common
 public function test_that_it_can_set_and_get_from_address()
 {
     $fromAddress = '*****@*****.**';
     $fromName = 'From';
     $this->message->addFrom($fromAddress, $fromName);
     $from = $this->message->getFrom();
     $this->assertTrue($fromAddress === $from[0]['address'] && $fromName === $from[0]['name']);
 }