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