Esempio 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);
     }
 }
Esempio 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);
     }
 }