@Test public void test_supports_returns_true_for_correct_class() throws Exception { assertTrue(enrollmentValidator.supports(OrgEnrollmentConfigRequest.class)); }
public boolean supports(Class<?> clazz) { return OrgEnrollmentConfigRequest.class.equals(clazz); }
EnrollmentValidator implements Validator { public boolean supports(Class<?> clazz) { return OrgEnrollmentConfigRequest.class.equals(clazz); } }
EnrollmentValidator implements Validator { public boolean supports(Class<?> clazz) { return OrgEnrollmentConfigRequest.class.equals(clazz); }  }
EnrollmentValidator implements Validator { public boolean supports(Class<?> clazz) { return OrgEnrollmentConfigRequest.class.equals(clazz); }  boolean supports(Class<?> clazz); void validate(Object target, Errors errors); }
EnrollmentValidator implements Validator { public boolean supports(Class<?> clazz) { return OrgEnrollmentConfigRequest.class.equals(clazz); }  boolean supports(Class<?> clazz); void validate(Object target, Errors errors);  }