public function testShouldAllowSettingAlternativePluginLoaderInstance() { // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php'; $bootstrap = new ZfAppBootstrap($this->application); $loader = new Zend_Loader_PluginLoader(); $bootstrap->setPluginLoader($loader); $this->assertSame($loader, $bootstrap->getPluginLoader()); }
public function testShouldAllowSettingAlternativePluginLoaderInstance() { $bootstrap = new ZfAppBootstrap($this->application); $loader = new Zend_Loader_PluginLoader(); $bootstrap->setPluginLoader($loader); $this->assertSame($loader, $bootstrap->getPluginLoader()); }