### Question:
Uploads { public Collection<Upload> items() { return uploads; } Uploads(@JsonProperty("uploads") Collection<Upload> uploads); Collection<Upload> items(); @Override String toString();  }### Answer:
@Test public void shouldDeserialize() throws Exception { final Uploads uploads = readObjectFromResource("/dataset/uploads/uploads.json", Uploads.class); assertThat(uploads, notNullValue()); assertThat(uploads.items(), not(Matchers.empty())); assertThat(uploads.items().size(), is(2)); }