List<? extends Upload> uploads = dao.getUploads("code0", now.minusMinutes(1), now);
assertEquals(1, uploads.size());
assertEquals(healthcodeToUploadId.get("code0"), uploads.get(0).getUploadId());
uploads = dao.getUploads("code0", now.minusMinutes(3), now.minusMinutes(2));
assertEquals(0, uploads.size());
<BUG>uploads = dao.getStudyUploads(TEST_STUDY, now.minusMinutes(1), now);
</BUG>
assertEquals(numUploads, uploads.size());
Set<String> foundHealthCodeSet = new HashSet<>();
Set<String> foundUploadIdSet = new HashSet<>();

List<? extends Upload> uploads = dao.getUploads("code0", now.minusMinutes(1), now);
assertEquals(1, uploads.size());
assertEquals(healthcodeToUploadId.get("code0"), uploads.get(0).getUploadId());
uploads = dao.getUploads("code0", now.minusMinutes(3), now.minusMinutes(2));
assertEquals(0, uploads.size());
uploads = dao.getStudyUploads(TEST_STUDY, now.minusMinutes(1), now, API_MAXIMUM_PAGE_SIZE, null).getItems();
assertEquals(numUploads, uploads.size());
Set<String> foundHealthCodeSet = new HashSet<>();
Set<String> foundUploadIdSet = new HashSet<>();
