You are here

public function HttpKernelTest::testHandleWhenNoControllerIsFound 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::testHandleWhenNoControllerIsFound()

@expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException

File

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

Class

HttpKernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

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