@Test public void testToString() { final String expected = "SnowizardError{code=123, message=this is bad}"; assertThat(error.toString()).isEqualTo(expected); }
@Override public String toString() { return MoreObjects.toStringHelper(this).add("code", code) .add("message", message).toString(); }
SnowizardError { @Override public String toString() { return MoreObjects.toStringHelper(this).add("code", code) .add("message", message).toString(); } }
SnowizardError { @Override public String toString() { return MoreObjects.toStringHelper(this).add("code", code) .add("message", message).toString(); } @JsonCreator  SnowizardError(@JsonProperty("code") final int code,
            @JsonProperty("message") final String message); }
SnowizardError { @Override public String toString() { return MoreObjects.toStringHelper(this).add("code", code) .add("message", message).toString(); } @JsonCreator  SnowizardError(@JsonProperty("code") final int code,
            @JsonProperty("message") final String message); @JsonProperty int getCode(); @JsonProperty String getMessage(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); }
SnowizardError { @Override public String toString() { return MoreObjects.toStringHelper(this).add("code", code) .add("message", message).toString(); } @JsonCreator  SnowizardError(@JsonProperty("code") final int code,
            @JsonProperty("message") final String message); @JsonProperty int getCode(); @JsonProperty String getMessage(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }