public function FileDriverTest::testGetAllClassNamesGlobalBasename 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::testGetAllClassNamesGlobalBasename()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php, line 44
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetAllClassNamesGlobalBasename() {
$driver = new TestFileDriver($this
->newLocator());
$driver
->setGlobalBasename("global");
$classNames = $driver
->getAllClassNames();
$this
->assertEquals(array(
'stdGlobal',
'stdGlobal2',
), $classNames);
}