public function SymfonyFileLocatorTest::testGetFileExtension in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/SymfonyFileLocatorTest.php \Doctrine\Tests\Common\Persistence\Mapping\SymfonyFileLocatorTest::testGetFileExtension()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ SymfonyFileLocatorTest.php, line 31
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetFileExtension() {
$locator = new SymfonyFileLocator(array(), ".yml");
$this
->assertEquals(".yml", $locator
->getFileExtension());
$locator
->setFileExtension(".xml");
$this
->assertEquals(".xml", $locator
->getFileExtension());
}