How to stub data for PHPUnit with plugin using Zend_Auth that redirects on failed authentication
I'm still a newb to phpunit so I hope to be explaining this correctly.
I'm trying to run a controller test with PHPUnit, however the plugin that is using Zend_Auth is redirecting back to the login.
How do I create the stub data?  I tried placing it in my setUp but Zend_Auth appears to be reinstantiated after setUp.
Thanks for any help
How to stub data for PHPUnit with plugin using Zend_Auth that redirects on failed authentication
===

I'm still a newb to phpunit so I hope to be explaining this correctly.
I'm trying to run a controller test with PHPUnit, however the plugin that is using Zend_Auth is redirecting back to the login.
How do I create the stub data?  I tried placing it in my setUp but Zend_Auth appears to be reinstantiated after setUp.
Thanks for any help