### Question:
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; }### Answer:
@Test public void testToStringFormat() throws Exception { final Query query = readObjectFromResource("/md/query.json", Query.class); assertThat(query.toString(), matchesPattern(Query.class.getSimpleName() + "\\[.*\\]")); }