public function XmlFileLoaderTest::testLoadGroupSequenceProvider in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Mapping/Loader/XmlFileLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\XmlFileLoaderTest::testLoadGroupSequenceProvider()
File
- vendor/
symfony/ validator/ Tests/ Mapping/ Loader/ XmlFileLoaderTest.php, line 96
Class
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderCode
public function testLoadGroupSequenceProvider() {
$loader = new XmlFileLoader(__DIR__ . '/constraint-mapping.xml');
$metadata = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\GroupSequenceProviderEntity');
$loader
->loadClassMetadata($metadata);
$expected = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\GroupSequenceProviderEntity');
$expected
->setGroupSequenceProvider(true);
$this
->assertEquals($expected, $metadata);
}