示例#1
0
 public function testShouldAllowUnregisteringPluginResourcesByName()
 {
     // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php';
     $bootstrap = new ZfAppBootstrap($this->application);
     $bootstrap->registerPluginResource('view');
     $bootstrap->unregisterPluginResource('view');
     $this->assertFalse($bootstrap->hasPluginResource('view'));
 }
示例#2
0
 public function testShouldAllowUnregisteringPluginResourcesByName()
 {
     $bootstrap = new ZfAppBootstrap($this->application);
     $bootstrap->registerPluginResource('view');
     $bootstrap->unregisterPluginResource('view');
     $this->assertFalse($bootstrap->hasPluginResource('view'));
 }