public function HttpKernelTest::testHandleWhenControllerThrowsAnExceptionAndRawIsTrue

@expectedException RuntimeException

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php, line 40

Class

HttpKernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function testHandleWhenControllerThrowsAnExceptionAndRawIsTrue() {
  $kernel = new HttpKernel(new EventDispatcher(), $this
    ->getResolver(function () {
    throw new \RuntimeException();
  }));
  $kernel
    ->handle(new Request(), HttpKernelInterface::MASTER_REQUEST, true);
}