예제 #1
0
 public function setUp()
 {
     parent::setUp();
     $_SERVER['REQUEST_METHOD'] = 'GET';
     $_SERVER['REQUEST_URI'] = '/test/get';
     parent::initRouter();
 }
예제 #2
0
 protected function invokeRouter()
 {
     $this->mockResponse();
     $router = parent::initRouter();
     $router->invoke();
 }