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