class PHPDriverTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/PHPDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\PHPDriverTest
Hierarchy
- class \Doctrine\Tests\Common\Persistence\Mapping\PHPDriverTest extends \Doctrine\Tests\DoctrineTestCase
Expanded class hierarchy of PHPDriverTest
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ PHPDriverTest.php, line 8
Namespace
Doctrine\Tests\Common\Persistence\MappingView source
class PHPDriverTest extends DoctrineTestCase {
public function testLoadMetadata() {
$metadata = $this
->getMock('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata');
$metadata
->expects($this
->once())
->method('getFieldNames');
$driver = new PHPDriver(array(
__DIR__ . "/_files",
));
$driver
->loadMetadataForClass('TestEntity', $metadata);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PHPDriverTest:: |
public | function |