public function TestManager::getMetadataFactory in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ManagerRegistryTest.php \Doctrine\Tests\Common\Persistence\TestManager::getMetadataFactory()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ ManagerRegistryTest.php, line 69
Class
Namespace
Doctrine\Tests\Common\PersistenceCode
public function getMetadataFactory() {
$driver = $this
->getMock('Doctrine\\Common\\Persistence\\Mapping\\Driver\\MappingDriver');
$metadata = $this
->getMock('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata');
return new TestClassMetadataFactory($driver, $metadata);
}