ZF-4511: Zend_Test_PHPUnit_ControllerTestCase::resetResponse() does not allow a new clean dispatch
After calling a dispatch() in a test, the resetResponse() method cleans the response object and the registry instance. However, the request object still contains param from the previous dispatch and so it contaminates the new one. I personally call $this->setUp() after every dispatch/assertions cycle to ensure cleanliness. Not sure if it is the intended behaviour, I think reset the request object or provide a parameter of resetResponse() or a resetRequest() method would be useful.