/** * Reset the request object * * Useful for test cases that need to test multiple trips to the server. * * @return Zend_Test_PHPUnit_ControllerTestCase */ public function resetRequest() { if ($this->_request instanceof Zend_Controller_Request_HttpTestCase) { $this->_request->clearQuery()->clearPost(); } $this->_request = null; return $this; }