public function HttpKernelTest::testHandleWhenTheControllerIsNotACallable

@expectedException LogicException

File

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

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());
}