Search in sources :

Example 1 with HibernateValidator

use of org.hibernate.validator.HibernateValidator in project camel by apache.

the class CustomValidationProviderResolverTest method doPreSetup.

@Override
protected void doPreSetup() throws Exception {
    List validationProviders = asList(new HibernateValidator());
    given(validationProviderResolver.getValidationProviders()).willReturn(validationProviders);
    super.doPreSetup();
}
Also used : HibernateValidator(org.hibernate.validator.HibernateValidator) List(java.util.List) Arrays.asList(java.util.Arrays.asList)

Aggregations

Arrays.asList (java.util.Arrays.asList)1 List (java.util.List)1 HibernateValidator (org.hibernate.validator.HibernateValidator)1