@Test public void testEquals() { EqualsVerifier.forClass(HttpClientConfig.class) .withPrefabValues(ObjectMapper.class, new ObjectMapper(), new ObjectMapper()) .verify(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HttpClientConfig that = (HttpClientConfig) o; return Objects.equals(customObjectMapper, that.customObjectMapper) && Objects.equals(proxySettings, that.proxySettings); }
HttpClientConfig { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HttpClientConfig that = (HttpClientConfig) o; return Objects.equals(customObjectMapper, that.customObjectMapper) && Objects.equals(proxySettings, that.proxySettings); } }
HttpClientConfig { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HttpClientConfig that = (HttpClientConfig) o; return Objects.equals(customObjectMapper, that.customObjectMapper) && Objects.equals(proxySettings, that.proxySettings); } private  HttpClientConfig(ObjectMapper customObjectMapper, ProxySettings proxySettings); }
HttpClientConfig { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HttpClientConfig that = (HttpClientConfig) o; return Objects.equals(customObjectMapper, that.customObjectMapper) && Objects.equals(proxySettings, that.proxySettings); } private  HttpClientConfig(ObjectMapper customObjectMapper, ProxySettings proxySettings); static HttpClientConfig basicConfig(); Optional<ObjectMapper> customObjectMapper(); ObjectMapper getOrCreateObjectMapper(); ProxySettings proxySettings(); HttpClientConfig withObjectMapper(ObjectMapper newMapper); HttpClientConfig withProxySettings(ProxySettings newProxySettings); @Override boolean equals(Object o); @Override int hashCode(); }
HttpClientConfig { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HttpClientConfig that = (HttpClientConfig) o; return Objects.equals(customObjectMapper, that.customObjectMapper) && Objects.equals(proxySettings, that.proxySettings); } private  HttpClientConfig(ObjectMapper customObjectMapper, ProxySettings proxySettings); static HttpClientConfig basicConfig(); Optional<ObjectMapper> customObjectMapper(); ObjectMapper getOrCreateObjectMapper(); ProxySettings proxySettings(); HttpClientConfig withObjectMapper(ObjectMapper newMapper); HttpClientConfig withProxySettings(ProxySettings newProxySettings); @Override boolean equals(Object o); @Override int hashCode();  }