### Question:
DisplayForm extends AbstractObj { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator protected  DisplayForm(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content,
            @JsonProperty("links") Links links); @JsonIgnore String getFormOf(); @JsonIgnore String getExpression(); @JsonIgnore String getLdmExpression(); @JsonIgnore String getType(); @JsonIgnore String getElementsUri(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() { final DisplayForm displayForm = new DisplayForm(new Meta("Person Name"), new DisplayForm.Content(FORM_OF, EXPRESSION, LDM_EXPRESSION, null), new DisplayForm.Links(ELEMENTS_LINK)); assertThat(displayForm.toString(), matchesPattern(DisplayForm.class.getSimpleName() + "\\[.*\\]")); }