public function testConnectionFailure()
{
$host = 'dummy.jyxo.com';
$test = new Imap('Imap', $host);
// @ on purpose
$result = @$test->run();
$this->assertEquals(\Jyxo\Beholder\Result::FAILURE, $result->getStatus());
$this->assertEquals(sprintf('Connection error @%s:143', $host), $result->getDescription());
}