Search in sources :

Example 1 with ApacheValidationProvider

use of org.apache.bval.jsr.ApacheValidationProvider in project tomee by apache.

the class BeanValidationCustomProviderTest method resetProvider.

@AfterClass
public static void resetProvider() {
    CustomValidatorProvider.provider = new ApacheValidationProvider();
    System.clearProperty(ValidatorBuilder.VALIDATION_PROVIDER_KEY);
}
Also used : ApacheValidationProvider(org.apache.bval.jsr.ApacheValidationProvider) AfterClass(org.junit.AfterClass)

Aggregations

ApacheValidationProvider (org.apache.bval.jsr.ApacheValidationProvider)1 AfterClass (org.junit.AfterClass)1