public function TestManager::getMetadataFactory in Plug 7
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ ManagerRegistryTest.php, line 69
Class
Namespace
Doctrine\Tests\Common\PersistenceCode
public function getMetadataFactory() {
$driver = PHPUnit_Framework_MockObject_Generator::getMock('Doctrine\\Common\\Persistence\\Mapping\\Driver\\MappingDriver');
$metadata = PHPUnit_Framework_MockObject_Generator::getMock('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata');
return new TestClassMetadataFactory($driver, $metadata);
}