Test to smtp disconnect.

This commit is contained in:
Juan Basso 2011-04-04 00:28:48 -04:00
parent 5018953407
commit 5f54946cf8

View file

@ -264,4 +264,14 @@ class StmpProtocolTest extends CakeTestCase {
$this->SmtpTransport->sendData();
}
/**
* testQuit method
*
* @return void
*/
public function testQuit() {
$this->socket->expects($this->at(0))->method('write')->with("QUIT\r\n");
$this->SmtpTransport->disconnect();
}
}