### Question:
Uploads { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } Uploads(@JsonProperty("uploads") Collection<Upload> uploads); Collection<Upload> items(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() throws Exception { final Uploads uploads = readObjectFromResource("/dataset/uploads/uploads.json", Uploads.class); assertThat(uploads.toString(), matchesPattern(Uploads.class.getSimpleName() + "\\[.*\\]")); }