public function testNestedExceptions() { $handler = new ExceptionHandler(true); $response = $handler ->createResponse(new \RuntimeException('Foo', null, new \RuntimeException('Bar'))); }