public function DefaultFileLocatorTest::testGetFileExtension in Plug 7
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ DefaultFileLocatorTest.php, line 21
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetFileExtension() {
$locator = new DefaultFileLocator(array(), ".yml");
$this
->assertEquals(".yml", $locator
->getFileExtension());
$locator
->setFileExtension(".xml");
$this
->assertEquals(".xml", $locator
->getFileExtension());
}