function testPathRoute() { $this->router->map('/path', array($this, 'ok')); $this->request->url = '/path'; $this->check('OK'); }