public function testSendOk()
{
// Skips the test if no SMTP connection is defined
if (empty($GLOBALS['smtp'])) {
$this->markTestSkipped('Smtp host not set');
}
$test = new Smtp('Smtp', $GLOBALS['smtp'], '[email protected]');
$result = $test->run();
$this->assertEquals(\Jyxo\Beholder\Result::SUCCESS, $result->getStatus());
$this->assertEquals($GLOBALS['smtp'], $result->getDescription());
}