public function testCreateNotFoundException() { $controller = new TestController(); $this->assertInstanceOf('Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException', $controller->createNotFoundException()); }