phpunit - zend framework
what's the best way to mock / how to test this code $this->getRequest()->getParam('controller') in a controller action helper?
(or any param or that matter as it's all related)
I'm guessing I need to mock the request object and put an expectation on it that method getParam will be found at least once with value controller.
Can someone show me kind of a code example or let me know the best way to do this? thanks!