tests/ErrorHandlerTest.php
/**
     * Test error handler with custom methods and show default view.
     */
Test error handler with custom methods and show default view.
Test error handler with custom methods and show default view .
public function testErrorWithCustomMethodsAndShowDefaultView()
    {
        $this->ErrorHandler->setCustomMethod(
            $this->ErrorHandler,
            'testError',
            0,
            true
        );
        $this->assertTrue(
            $this->ErrorHandler->error(8, 'Test', __FILE__, __LINE__)
        );
    }
public function testErrorWithCustomMethodsAndShowDefaultView ( ) { $ this -> ErrorHandler -> setCustomMethod ( $ this -> ErrorHandler , 'testError' , 0 , true ) ; $ this -> assertTrue ( $ this -> ErrorHandler -> error ( 8 , 'Test' , __FILE__ , __LINE__ ) ) ; }
Test error handler with custom methods and show default view.
Test error handler with custom methods and show default view .