public function testCapabilityNotConnected()
{
$imap = new ezcMailImapTransport(self::$server, self::$port);
$imap->disconnect();
try {
$imap->capability();
$this->fail("Expected exception was not thrown.");
} catch (ezcMailTransportException $e) {
}
}