示例#1
0
 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());
 }
示例#2
0
 public function testShouldAllowSettingAlternativePluginLoaderInstance()
 {
     $bootstrap = new ZfAppBootstrap($this->application);
     $loader = new Zend_Loader_PluginLoader();
     $bootstrap->setPluginLoader($loader);
     $this->assertSame($loader, $bootstrap->getPluginLoader());
 }