public function testUpdateRequestByRegexp() { $route = 'page/index/show/param1/value1/param2/value2'; $result = $this->router->matchByRegexp($route); $this->router->updateRequest($result); $route = 'admin/page/index/show/param1/value1/param2/value2'; $result = $this->router->matchByRegexp($route); $this->router->updateRequest($result); }