You are here

class TestManager in Plug 7

Hierarchy

Expanded class hierarchy of TestManager

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ManagerRegistryTest.php, line 67

Namespace

Doctrine\Tests\Common\Persistence
View source
class TestManager {
  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);
  }

}

Members