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