public function ExceptionHandlerTest::testNestedExceptions

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Debug/ExceptionHandlerTest.php, line 64

Class

ExceptionHandlerTest

Namespace

Symfony\Component\HttpKernel\Tests\Debug

Code

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