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