public function testAlert() { Logger::alert('foo'); $this->assertEquals(1, preg_match('/ALERT \\(' . Zend_Log::ALERT . '\\): foo/', file_get_contents(Logger::$logStream))); }