public function HttpKernelTest::testHandleWhenControllerThrowsAnExceptionAndRawIsFalseAndNoListenerIsRegistered

@expectedException RuntimeException

File

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

Class

HttpKernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

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