@Test public void testToStringFormat() throws Exception { final Query query = readObjectFromResource("/md/query.json", Query.class); assertThat(query.toString(), matchesPattern(Query.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
Query { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
Query { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  Query(@JsonProperty("entries") Collection<Entry> entries, @JsonProperty("meta") Meta meta); }
Query { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  Query(@JsonProperty("entries") Collection<Entry> entries, @JsonProperty("meta") Meta meta); Collection<Entry> getEntries(); String getCategory(); String getSummary(); String getTitle(); @Override String toString(); }
Query { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  Query(@JsonProperty("entries") Collection<Entry> entries, @JsonProperty("meta") Meta meta); Collection<Entry> getEntries(); String getCategory(); String getSummary(); String getTitle(); @Override String toString(); static final String URI; }