### Question:
Id { @Override public String toString() { return MoreObjects.toStringHelper(this).add("id", id) .add("idStr", idStr).toString(); } @JsonCreator  Id(@JsonProperty("id") final long id,
            @JsonProperty("id_str") final String idStr);  Id(final long id); @JsonProperty long getId(); @JsonProperty("id_str") String getIdAsString(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToString() { final String expected = "Id{id=1234, idStr=1234}"; assertThat(id.toString()).isEqualTo(expected); }