### Question:
UploadStatistics { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } private  UploadStatistics(@JsonProperty("statusesCount") Map<String, Integer> statusesCount); int getUploadsCount(String uploadStatus); @Override String toString(); static final String URI; }### Answer:
@Test public void testToStringFormat() throws Exception { final UploadStatistics uploadStatistics = readObjectFromResource("/dataset/uploads/data-uploads-info.json", UploadStatistics.class); assertThat(uploadStatistics.toString(), matchesPattern(UploadStatistics.class.getSimpleName() + "\\[.*\\]")); }