write(array('message' => 'my mess', 'priority' => 1)); } public function testFactory() { $cfg = array(); $writer = Zend_Log_Writer_ZendMonitor::factory($cfg); $this->assertTrue($writer instanceof Zend_Log_Writer_ZendMonitor); } public function testIsEnabled() { $writer = new Zend_Log_Writer_ZendMonitor(); $this->assertTrue(is_bool($writer->isEnabled())); } } if (PHPUnit_MAIN_METHOD == 'Zend_Log_Writer_ZendMonitorTest::main') { Zend_Log_Writer_ZendMonitorTest::main(); }