Example #1
0
 /**
  * test case
  */
 public function testErrorHandler()
 {
     $this->errorHandler->setEnabledLog(true);
     $this->errorHandler->setOrigErrorHandler(array($this, "myOrigErrorHandler"));
     $this->errorHandler->errorHandler(1, "test", "test", 1, array("test"));
     $this->assertArrayCount(1, $this->errorHandler->getErrorLog());
 }