### Question:
ModelDiff { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  ModelDiff(@JsonProperty("updateScripts") List<UpdateScript> updateScripts);   ModelDiff(UpdateScript... updateScripts); List<String> getUpdateMaql(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() { final ModelDiff diff = new ModelDiff(new UpdateScript(true, false, Collections.emptyList())); assertThat(diff.toString(), matchesPattern(ModelDiff.class.getSimpleName() + "\\[.*\\]")); }