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