Exemplo n.º 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());
 }
Exemplo n.º 2
0
 public function testShouldAllowSettingAlternativePluginLoaderInstance()
 {
     $bootstrap = new ZfAppBootstrap($this->application);
     $loader = new Zend_Loader_PluginLoader();
     $bootstrap->setPluginLoader($loader);
     $this->assertSame($loader, $bootstrap->getPluginLoader());
 }