SW360ClientConfig { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } SW360ClientConfig that = (SW360ClientConfig) o; return getRestURL().equals(that.getRestURL()) && getAuthURL().equals(that.getAuthURL()) && getUser().equals(that.getUser()) && getPassword().equals(that.getPassword()) && getClientId().equals(that.getClientId()) && getClientPassword().equals(that.getClientPassword()) && getToken().equals(that.getToken()) && getHttpClient().equals(that.getHttpClient()) && getObjectMapper().equals(that.getObjectMapper()); } private  SW360ClientConfig(URI baseURI, String authURL, String user, String password, String clientId,
                              String clientPassword, String token, HttpClient httpClient, ObjectMapper objectMapper); static SW360ClientConfig createConfig(String restURL, String authURL, String user,
                                                 String password, String clientId, String clientPassword,
                                                 String token, HttpClient httpClient, ObjectMapper mapper); String getRestURL(); URI getBaseURI(); String getAuthURL(); String getUser(); String getPassword(); String getClientId(); String getClientPassword(); String getToken(); HttpClient getHttpClient(); ObjectMapper getObjectMapper(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testEquals() { EqualsVerifier.forClass(SW360ClientConfig.class) .withPrefabValues(ObjectMapper.class, new ObjectMapper(), new ObjectMapper()) .suppress(Warning.NULL_FIELDS) .verify(); }