@Test
public void testSortValidatorWrapper()
{
DefaultMessageParameterProvider provider = new DefaultMessageParameterProvider();
ValidatorWrapper wrapper1 = new ValidatorWrapper("key1", 20, Collections.emptyList(), new IntegerValidator(),
this.getClass().getMethods()[0], provider);
ValidatorWrapper wrapper2 = new ValidatorWrapper("key2", 10, Collections.emptyList(), new IntegerValidator(),
this.getClass().getMethods()[0], provider);
List<ValidatorWrapper> list = new ArrayList<ValidatorWrapper>();
list.add(wrapper1);
list.add(wrapper2);