tests/ErrorHandlerTest.php
/**
     * Test exception handler with custom methods and show default view.
     */
Test exception handler with custom methods and show default view.
Test exception handler with custom methods and show default view .
public function testExceptionWithCustomMethodsAndShowDefaultView()
    {
        $this->ErrorHandler->setCustomMethod(
            $this->ErrorHandler,
            'testError',
            0,
            true
        );
        $this->assertTrue(
            $this->ErrorHandler->exception(new \Exception())
        );
    }
public function testExceptionWithCustomMethodsAndShowDefaultView ( ) { $ this -> ErrorHandler -> setCustomMethod ( $ this -> ErrorHandler , 'testError' , 0 , true ) ; $ this -> assertTrue ( $ this -> ErrorHandler -> exception ( new \ Exception ( ) ) ) ; }
Test exception handler with custom methods and show default view.
Test exception handler with custom methods and show default view .