Autarky\Testing\TestCase::enableExceptionHandling PHP 메소드

enableExceptionHandling() 보호된 메소드

By default, uncaught exceptions in the application will simply be thrown again, meaning you have to call setExpectedException or similar if an exception is expected behaviour. If instead you want the application error handler to do its job and return a response, call this method.
protected enableExceptionHandling ( ) : void
리턴 void
    protected function enableExceptionHandling()
    {
        $this->app->getErrorHandler()->setRethrow(false);
    }