public function HttpKernelTest::testHandleWhenTheControllerDoesNotReturnAResponse 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::testHandleWhenTheControllerDoesNotReturnAResponse()
@expectedException \LogicException
File
- vendor/
symfony/ http-kernel/ Tests/ HttpKernelTest.php, line 212
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testHandleWhenTheControllerDoesNotReturnAResponse() {
$dispatcher = new EventDispatcher();
$kernel = new HttpKernel($dispatcher, $this
->getResolver(function () {
return 'foo';
}));
$kernel
->handle(new Request());
}