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