ImagesRepositoryImpl implements ImagesRepository { @Override public Set<String> deleteImages(Collection<String> imageIds) { return processRequestOrException(() -> { Call<ResponseBody> call = apiProvider.getImagesApi().delete(imageIds); call.execute(); return Collections.emptySet(); }); }  @Override List<FindImagesResult> findImages(FindImagesRequest findImagesRequest); @Override Set<String> addImages(List<Image> images); @Override Set<String> deleteImages(Collection<String> imageIds);  }
@Test public void testDeleteImages() { assertThat(imagesRepository.deleteImages(Collections.singleton("test-id")), is(empty())); }