public void testByDefaultProviderUsesTheFirstProviderReturnedByValidationProviderResolver() {
ValidationProviderResolver resolver = new ValidationProviderResolver() {
public List<ValidationProvider<?>> getValidationProviders() {
List<ValidationProvider<?>> list = new ArrayList<ValidationProvider<?>>();
list.add( new TCKValidationProvider() );
list.add( TestUtil.getValidationProviderUnderTest() );
return list;
}
};