public function testRetrievingPluginResourcesShouldRetrieveConcreteInstances() { // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php'; $bootstrap = new ZfAppBootstrap($this->application); $bootstrap->registerPluginResource('view'); $test = $bootstrap->getPluginResources(); foreach ($test as $type => $resource) { $this->assertTrue($resource instanceof Zend_Application_Resource_Resource); } }
public function testRetrievingPluginResourcesShouldRetrieveConcreteInstances() { $bootstrap = new ZfAppBootstrap($this->application); $bootstrap->registerPluginResource('view'); $test = $bootstrap->getPluginResources(); foreach ($test as $type => $resource) { $this->assertTrue($resource instanceof Zend_Application_Resource_Resource); } }