protected function getMockLogger() { $this->logHandler = new Horde_Log_Handler_Mock(); return new Horde_Log_Logger($this->logHandler); }