public function ClassMetadataTest::testGroupSequencesFailIfContainingDefault in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Mapping/ClassMetadataTest.php \Symfony\Component\Validator\Tests\Mapping\ClassMetadataTest::testGroupSequencesFailIfContainingDefault()
File
- vendor/
symfony/ validator/ Tests/ Mapping/ ClassMetadataTest.php, line 230
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGroupSequencesFailIfContainingDefault() {
$this
->setExpectedException('Symfony\\Component\\Validator\\Exception\\GroupDefinitionException');
$this->metadata
->setGroupSequence(array(
'Foo',
$this->metadata
->getDefaultGroup(),
Constraint::DEFAULT_GROUP,
));
}