getFrom() public method

public getFrom ( )
Example #1
0
 public function test_Should_SetAndGetFrom()
 {
     $mailSettingEntity = new MailSettingEntity();
     $from['address'] = '*****@*****.**';
     $from['name'] = 'from_name';
     $mailSettingEntity->setFrom($from);
     $retFrom = $mailSettingEntity->getFrom();
     $this->assertEquals($from, $retFrom);
 }