public void testDefaultGroupSequenceDefinedOnClassWithNoConstraints() {
mapping.type( Marathon.class )
.property( "name", METHOD )
.constraint( new NotNullDef().groups( Foo.class ) )
.property( "runners", METHOD )
.constraint( new NotEmptyDef() )
.type( ExtendedMarathon.class )
.defaultGroupSequence( Foo.class, ExtendedMarathon.class );
config.addMapping( mapping );
Validator validator = config.buildValidatorFactory().getValidator();