Exemplo n.º 1
0
 public function testRetrievingPluginResourcesShouldRetrieveConcreteInstances()
 {
     // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php';
     $bootstrap = new ZfAppBootstrap($this->application);
     $bootstrap->registerPluginResource('view');
     $test = $bootstrap->getPluginResources();
     foreach ($test as $type => $resource) {
         $this->assertTrue($resource instanceof Zend_Application_Resource_Resource);
     }
 }
Exemplo n.º 2
0
 public function testRetrievingPluginResourcesShouldRetrieveConcreteInstances()
 {
     $bootstrap = new ZfAppBootstrap($this->application);
     $bootstrap->registerPluginResource('view');
     $test = $bootstrap->getPluginResources();
     foreach ($test as $type => $resource) {
         $this->assertTrue($resource instanceof Zend_Application_Resource_Resource);
     }
 }