public function ClassMetadataTest::testGroupSequenceProviderFailsIfDomainClassIsInvalid in Plug 7
@expectedException \Symfony\Component\Validator\Exception\GroupDefinitionException
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ ClassMetadataTest.php, line 260
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGroupSequenceProviderFailsIfDomainClassIsInvalid() {
$metadata = new ClassMetadata('stdClass');
$metadata
->setGroupSequenceProvider(true);
}