}
@Test
public void testMultipleParameterConstraintsAtSameParameter() throws Exception {
ConstraintMapping mapping = config.createConstraintMapping();
mapping.type( GreetingService.class )
.constructor( String.class )
.parameter( 0 )
.constraint( new SizeDef().min( 1 ).max( 10 ) )
.constraint( new SizeDef().min( 2 ).max( 10 ) );
config.addMapping( mapping );