public function testPostDispatchQuitsWithFalseUserErrorHandlerParam() { $front = Zend_Controller_Front::getInstance(); $front->resetInstance(); $front->setParam('noErrorHandler', true); $this->response->setException(new Zend_Controller_Dispatcher_Exception('Testing controller exception')); $this->request->setModuleName('foo')->setControllerName('bar')->setActionName('baz'); $this->plugin->postDispatch($this->request); $this->assertNull($this->request->getParam('error_handler')); }