function testUrlParameters() { $this->router->map('/user/@id', function ($id) { echo $id; }); $this->request->url = '/user/123'; $this->check('123'); }