validatorLookupService = mock(ValidatorLookupService.class);
}
@Test
public void testGetValidationModel() throws Exception {
when(validatorLookupService.getValidator("org.apache.sling.validation.impl.validators.RegexValidator")).thenReturn(new
RegexValidator());
Whitebox.setInternalState(validationService, "validatorLookupService", validatorLookupService);
List<TestProperty> properties = new ArrayList<TestProperty>();
TestProperty property = new TestProperty();