_request = new Zend_Tool_Framework_Client_Request(); $this->_response = new Zend_Tool_Framework_Client_Response(); $this->_registry = new Zend_Tool_Framework_Registry(); $this->_registry->setRequest($this->_request); $this->_registry->setResponse($this->_response); } public function testAbsractReturnsRequestAndResponse() { $provider = new Zend_Tool_Framework_Provider_ProviderFullFeatured(); $provider->setRegistry($this->_registry); $returnInternals = $provider->_testReturnInternals(); $this->assertTrue(array_shift($returnInternals) === $this->_request); $this->assertTrue(array_shift($returnInternals) === $this->_response); } }