### Question:
Fact extends AbstractObj implements Queryable, Updatable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  Fact(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content);   Fact(String title, String data, String type, String folder); @JsonIgnore Collection<Expression> getExpressions(); @JsonIgnore Collection<String> getFolders(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() { final Fact fact = new Fact("Person Shoe Size", "/gdc/md/PROJECT_ID/obj/COL_ID", "col", "/gdc/md/PROJECT_ID/obj/FOLDER_ID"); assertThat(fact.toString(), matchesPattern(Fact.class.getSimpleName() + "\\[.*\\]")); }