@Test public void testToStringFormat() { final Key key = new Key(DATA, TYPE); assertThat(key.toString(), matchesPattern(Key.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
Key implements Serializable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
Key implements Serializable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  Key(@JsonProperty("data") String data, @JsonProperty("type") String type); }
Key implements Serializable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  Key(@JsonProperty("data") String data, @JsonProperty("type") String type); String getData(); String getType(); @Override String toString(); }
Key implements Serializable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  Key(@JsonProperty("data") String data, @JsonProperty("type") String type); String getData(); String getType(); @Override String toString();  }