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');
}