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