public function HttpKernelTest::testHandleWhenControllerThrowsAnExceptionAndCatchIsTrue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/HttpKernelTest.php \Symfony\Component\HttpKernel\Tests\HttpKernelTest::testHandleWhenControllerThrowsAnExceptionAndCatchIsTrue()
@expectedException \RuntimeException
File
- vendor/
symfony/ http-kernel/ Tests/ HttpKernelTest.php, line 29
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testHandleWhenControllerThrowsAnExceptionAndCatchIsTrue() {
$kernel = new HttpKernel(new EventDispatcher(), $this
->getResolver(function () {
throw new \RuntimeException();
}));
$kernel
->handle(new Request(), HttpKernelInterface::MASTER_REQUEST, true);
}