* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\Bundle\DoctrineBundle\Tests\Mapping\Driver; use Symfony\Bundle\DoctrineBundle\Mapping\Driver\XmlDriver; class XmlDriverTest extends AbstractDriverTest { protected function getFileExtension() { return '.orm.xml'; } protected function getDriver(array $paths = array()) { $driver = new XmlDriver(array_values($paths)); $driver->setNamespacePrefixes(array_flip($paths)); return $driver; } }