public function testContainerShouldAggregateReturnValuesFromPluginResources() { // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php'; $bootstrap = new ZfAppBootstrap($this->application); $bootstrap->getPluginLoader()->addPrefixPath('Zend_Application_BootstrapTest_Resource', dirname(__FILE__) . '/../_files/resources'); $bootstrap->registerPluginResource('baz'); $bootstrap->bootstrap('baz'); $container = $bootstrap->getContainer(); $this->assertEquals('Baz', $container->baz->baz); }