### Question:
UserProfileValidator implements Validator { public boolean supports(Class<?> aClass) { return User.class.isAssignableFrom(aClass); } @Autowired  UserProfileValidator(UserService userService); boolean supports(Class<?> aClass); void validate(Object obj, Errors errors);  }### Answer:
@Test public void testSupports() throws Exception { assertTrue("Can validate org.apache.rave.model.User", validator.supports(UserImpl.class)); }