public function from($from) { $this->from = $from; return $this; }
public function test_Should_SetFromAddressAndReturnThis() { $notifier = new MailNotifier(); $result = $notifier->from('*****@*****.**'); $this->assertEquals($notifier, $result); }