@TestForIssue(jiraKey = "HV-500")
@Test(expectedExceptions = GroupDefinitionException.class, expectedExceptionsMessageRegExp = "HV000052.*")
public void testConfigurationOfSequenceProviderAndGroupSequenceCausesException() {
ConstraintMapping marathonMapping = config.createConstraintMapping();
marathonMapping.type( Marathon.class )
.defaultGroupSequence( Foo.class, Marathon.class )
.defaultGroupSequenceProviderClass( MarathonDefaultGroupSequenceProvider.class );
config.addMapping( marathonMapping );
Validator validator = config.buildValidatorFactory().getValidator();