Since: 1.0
Author: Jonathan H. Wage (jonwage@gmail.com)
Author: Roman Borschel (roman@code-factory.org)
Inheritance: extends Doctrine\Common\Persistence\Mapping\Driver\FileDriver
コード例 #1
0
ファイル: YamlDriverTest.php プロジェクト: doctrine/search
 public function testLoadMetadataForSubClass()
 {
     $className = __NAMESPACE__ . '\\YamlSuperUser';
     $metadata = new ClassMetadata($className);
     $this->yamlDriver->loadMetadataForClass($className, $metadata);
     $expected = $this->loadExpectedMetadataFor($className, 'superusers');
     $this->assertEquals($expected, $metadata);
 }