Ejemplo n.º 1
0
    public function testFactory()
    {
        $cfg = array();

        $writer = \Zend\Log\Writer\ZendMonitor::factory($cfg);
        $this->assertTrue($writer instanceof \Zend\Log\Writer\ZendMonitor);
    }
Ejemplo n.º 2
0
 public function testIsEnabled()
 {
     $writer = new ZendMonitor();
     $this->assertInternalType('boolean', $writer->isEnabled());
 }