/** * 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 Request\HttpTestCase) { $this->_request->clearQuery()->clearPost(); } $this->_request = null; return $this; }