createNotFoundException() public method

public createNotFoundException ( $message = 'Not Found', Exception $previous = null )
$previous Exception
コード例 #1
0
ファイル: ControllerTest.php プロジェクト: symfony/symfony
 public function testCreateNotFoundException()
 {
     $controller = new TestController();
     $this->assertInstanceOf('Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException', $controller->createNotFoundException());
 }