public function testLoggerError() { $logger = new OutputLogger(new NullOutput()); $this->assertEmpty($logger->log("Test", $logger->setError())); if ($logger->isMail()) { $this->assertFalse($logger->send('*****@*****.**', '*****@*****.**')); } }