After 8pm here, suspect my two brain cells have given up, but have to
set up a walking skeleton...
I want to write a unit test to check two items.
1) The different error handler messages (like
Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_CONTROLLER); and 2)
the HTTP error codes.
For an ErrorController action exception...
public function testX() {
$this->dispatch('/error/xxx');
...
}
How to get the error_handler result? In ErrorController it starts with
$errors = $this->_getParam('error_handler');
A practical example or pointer to one would be appreciated.
TIA...
Mike A.