DefaultServiceResponse extends ServiceDto implements ServiceResponse { @Override public boolean equals(final Object other) { if (this == other) { return true; } if (other == null) { return false; } if (!getClass().equals(other.getClass())) { return false; } DefaultServiceResponse castOther = (DefaultServiceResponse) other; return Objects.equals(getBody(), castOther.getBody()) && Objects.equals(getHeaders(), castOther.getHeaders()) && Objects.equals(statusCode, castOther.statusCode) && Objects.equals(reasonPhrase, castOther.reasonPhrase); } DefaultServiceResponse();  DefaultServiceResponse(@Nullable String body, @Nonnull Map<String, List<String>> headers, int statusCode,
			@Nullable String reasonPhrase); @Override int getStatusCode(); void setStatusCode(int statusCode); @Override String getReasonPhrase(); void setReasonPhrase(@Nullable String reasonPhrase); @Override boolean equals(final Object other); @Override int hashCode(); @Override String toString();  }
@Test public void testEquals() { new CopyConstructorEqualsTester(getConstructor()) .addArguments(0, null, "", "123") .addArguments(1, ImmutableMap.of(), ImmutableMap.of("123", ImmutableList.of()), ImmutableMap.of("123", ImmutableList.of("1"))) .addArguments(2, 200, 400) .addArguments(3, null, "a", "b") .testEquals(); }