public function ClassMetadataTest::testGroupSequenceFailsIfGroupSequenceProviderIsSet in Plug 7
@expectedException \Symfony\Component\Validator\Exception\GroupDefinitionException
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ ClassMetadataTest.php, line 240
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGroupSequenceFailsIfGroupSequenceProviderIsSet() {
$metadata = new ClassMetadata(self::PROVIDERCLASS);
$metadata
->setGroupSequenceProvider(true);
$metadata
->setGroupSequence(array(
'GroupSequenceProviderEntity',
'Foo',
));
}