You are here

public function HttpKernelTest::testHandleWhenTheControllerIsNotACallable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/HttpKernelTest.php \Symfony\Component\HttpKernel\Tests\HttpKernelTest::testHandleWhenTheControllerIsNotACallable()

@expectedException \LogicException

File

vendor/symfony/http-kernel/Tests/HttpKernelTest.php, line 160

Class

HttpKernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function testHandleWhenTheControllerIsNotACallable() {
  $dispatcher = new EventDispatcher();
  $kernel = new HttpKernel($dispatcher, $this
    ->getResolver('foobar'));
  $kernel
    ->handle(new Request());
}