コード例 #1
0
 public function testSetTransport()
 {
     $transport = 'file';
     $this->assertSame($this->mailOptions, $this->mailOptions->setTransport($transport));
     $this->assertEquals('\\Zend\\Mail\\Transport\\File', $this->mailOptions->getTransport());
     $this->assertEquals('\\Zend\\Mail\\Transport\\File', $this->mailOptions->getMailAdapter());
 }