public function AnnotationLoaderTest::testLoadGroupSequenceProviderAnnotation in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Mapping/Loader/AnnotationLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\AnnotationLoaderTest::testLoadGroupSequenceProviderAnnotation()
File
- vendor/
symfony/ validator/ Tests/ Mapping/ Loader/ AnnotationLoaderTest.php, line 149
Class
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderCode
public function testLoadGroupSequenceProviderAnnotation() {
$loader = new AnnotationLoader(new AnnotationReader());
$metadata = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\GroupSequenceProviderEntity');
$loader
->loadClassMetadata($metadata);
$expected = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\GroupSequenceProviderEntity');
$expected
->setGroupSequenceProvider(true);
$expected
->getReflectionClass();
$this
->assertEquals($expected, $metadata);
}