Esempio n. 1
0
 public function testUndefinedRoute()
 {
     $route = new router\Container();
     $exception = null;
     try {
         $route->route('undefined/route');
     } catch (ErrorException $e) {
         $exception = $e;
     } finally {
         $this->tester->assertTrue($exception instanceof router\NotFound);
     }
 }