### Question:
ReportDefinitionContent implements Serializable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } ReportDefinitionContent(String format, Grid grid, Collection<Filter> filters); @JsonIgnore // handled by type info String getFormat(); Grid getGrid(); Collection<Filter> getFilters(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() { final ReportDefinitionContent def = new GridReportDefinitionContent( new Grid(Collections.emptyList(), Collections.emptyList(), Collections.emptyList())); assertThat(def.toString(), matchesPattern(GridReportDefinitionContent.class.getSimpleName() + "\\[.*\\]")); }