Example #1
0
 public function testTransportAccessors()
 {
     $default = $this->getTestTransport();
     $mail = new \r8\Mail($default);
     $this->assertSame($default, $mail->getTransport());
     $transport = $this->getTestTransport();
     $this->assertSame($mail, $mail->setTransport($transport));
     $this->assertSame($transport, $mail->getTransport());
 }