public function ClassMetadataTest::testGroupSequenceProviderFailsIfGroupSequenceIsSet in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Mapping/ClassMetadataTest.php \Symfony\Component\Validator\Tests\Mapping\ClassMetadataTest::testGroupSequenceProviderFailsIfGroupSequenceIsSet()
@expectedException \Symfony\Component\Validator\Exception\GroupDefinitionException
File
- vendor/
symfony/ validator/ Tests/ Mapping/ ClassMetadataTest.php, line 250
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGroupSequenceProviderFailsIfGroupSequenceIsSet() {
$metadata = new ClassMetadata(self::PROVIDERCLASS);
$metadata
->setGroupSequence(array(
'GroupSequenceProviderEntity',
'Foo',
));
$metadata
->setGroupSequenceProvider(true);
}