### Question:
AttributeElement { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  AttributeElement(@JsonProperty("uri") String uri, @JsonProperty("title") String title); String getUri(); String getTitle(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() throws Exception { final AttributeElement element = readObjectFromResource("/md/attributeElement.json", AttributeElement.class); assertThat(element.toString(), matchesPattern(AttributeElement.class.getSimpleName() + "\\[.*\\]")); }