Neos\Fusion\Tests\Unit\Core\ExceptionHandlers\AbstractRenderingExceptionHandlerTest::handleExceptions PHP Метод

handleExceptions() публичный Метод

exceptions are handled and transformed to a message
public handleExceptions ( )
    public function handleExceptions()
    {
        $exception = new \Exception();
        $actual = $this->handler->handleRenderingException('path', $exception);
        $this->assertEquals($this->handler->getMessage(), $actual, 'incorrect message received');
        $this->assertSame($exception, $this->handler->getException(), 'incorrect exception passed to stub');
        $this->assertEquals(null, $this->handler->getReferenceCode(), 'incorrect reference code passed to stub');
        $this->assertEquals('path', $this->handler->getTypoScriptPath(), 'incorrect typo script path passed to stub');
    }