示例#1
0
 public function testGetProviderSignaturesReturnsProviderSignatures()
 {
     $this->_repository->addProvider(new Zend_Tool_Framework_Provider_ProviderOne());
     $this->_repository->addProvider(new Zend_Tool_Framework_Provider_ProviderTwo());
     $this->_repository->process();
     $this->assertEquals(2, count($this->_repository));
     foreach ($this->_repository->getProviderSignatures() as $providerSignature) {
         $this->assertTrue($providerSignature instanceof Zend_Tool_Framework_Provider_Signature);
     }
 }
示例#2
0
 public function testGetProviderSignaturesReturnsProviderSignatures()
 {
     $this->_repository->addProvider(new \ZendTest\Tool\Framework\Provider\TestAsset\ProviderOne());
     $this->_repository->addProvider(new \ZendTest\Tool\Framework\Provider\TestAsset\ProviderTwo());
     $this->_repository->process();
     $this->assertEquals(2, count($this->_repository));
     foreach ($this->_repository->getProviderSignatures() as $providerSignature) {
         $this->assertTrue($providerSignature instanceof Provider\Signature);
     }
 }