public function FileDriverTest::testGetElementFromGlobalFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/FileDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\FileDriverTest::testGetElementFromGlobalFile()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php, line 21
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetElementFromGlobalFile() {
$driver = new TestFileDriver($this
->newLocator());
$driver
->setGlobalBasename("global");
$element = $driver
->getElement('stdGlobal');
$this
->assertEquals('stdGlobal', $element);
}