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