Esempio n. 1
0
 public function testRepositoryIsIterable()
 {
     $this->_repository->addManifest(new \ZendTest\Tool\Framework\Manifest\TestAsset\ManifestGoodOne());
     $this->_repository->process();
     $this->assertTrue($this->_repository instanceof \Traversable);
     foreach ($this->_repository as $thing) {
         $this->assertTrue(true);
     }
 }
 public function testRepositoryIsIterable()
 {
     $this->_repository->addManifest(new Zend_Tool_Framework_Manifest_ManifestGoodOne());
     $this->_repository->process();
     $this->assertTrue($this->_repository instanceof Traversable);
     foreach ($this->_repository as $thing) {
         $this->assertTrue(true);
     }
 }