diff --git a/cake/tests/cases/libs/email/smtp_transport.test.php b/cake/tests/cases/libs/email/smtp_transport.test.php index 6f8d6ab02..ec8e894d3 100644 --- a/cake/tests/cases/libs/email/smtp_transport.test.php +++ b/cake/tests/cases/libs/email/smtp_transport.test.php @@ -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(); + } + } \ No newline at end of file