function testGetPostRoute() { $this->router->map('GET|POST /', array($this, 'ok')); $this->request->url = '/'; $this->request->method = 'GET'; $this->check('OK'); }