示例#1
0
 public function testExecuteRouteWithArgs()
 {
     $router = new Nether\Avenue\Router();
     $handler = new Nether\Avenue\RouteHandler(static::$RequestData['Test']);
     $handler->SetArgv(['Patrick Stewart']);
     ob_start();
     $handler->Run($router);
     (new Verify('check for specific output', ob_get_clean()))->equals('Patrick Stewart');
     return;
 }