}
@Test
@TestForIssue(jiraKey = "HV-500")
public void testMultipleConstraintMappings() {
ConstraintMapping marathonMapping = config.createConstraintMapping();
marathonMapping.type( Marathon.class )
.property( "name", METHOD )
.constraint( new NotNullDef() );
ConstraintMapping runnerMapping = config.createConstraintMapping();
runnerMapping.type( Runner.class )
.property( "name", METHOD )
.constraint( new NotNullDef() );
config.addMapping( marathonMapping );
config.addMapping( runnerMapping );