### Question:
Dimension extends AbstractObj implements Queryable, Updatable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  Dimension(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content);   Dimension(String title); @JsonIgnore Collection<NestedAttribute> getAttributes(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() { final Dimension dimension = new Dimension("Dimension"); assertThat(dimension.toString(), matchesPattern(Dimension.class.getSimpleName() + "\\[.*\\]")); }