ConfigCommandValidator implements Validator { @Override public boolean supports(final Class clazz) { return clazz.equals(ConfigCommand.class); } ConfigCommandValidator(); protected  ConfigCommandValidator(final boolean testConnections); @Autowired void setApplication(final Application application); void setRepositoryService(final RepositoryService repositoryService); @Override boolean supports(final Class clazz); @Autowired void setConnectionFactory(final SVNConnectionFactory connectionFactory); @Override void validate(final Object obj, final Errors errors);  }
@Test public void testSupports() { final ConfigCommandValidator validator = new ConfigCommandValidator(false); assertTrue(validator.supports(ConfigCommand.class)); }