public function testRemoveParam() { $params = array('param1' => 1, 'param2' => 2); $this->request->setParams($params); $this->request->removeParam('param2'); $this->assertEquals(array('param1' => 1), $this->request->getParams()); }