Jean-Francois Leveque

Simplification

...@@ -198,7 +198,6 @@ public class PublisherServiceDefaultTest { ...@@ -198,7 +198,6 @@ public class PublisherServiceDefaultTest {
198 @DisplayName("When called, should return the PublisherVersions it gets from findByPublisherVersionIdIn") 198 @DisplayName("When called, should return the PublisherVersions it gets from findByPublisherVersionIdIn")
199 @Test 199 @Test
200 public void testReturnFromFind(@Mock PublisherVersionRepository publisherVersionRepository) { 200 public void testReturnFromFind(@Mock PublisherVersionRepository publisherVersionRepository) {
201 - List<Integer> integers = new ArrayList<>();
202 List<PublisherVersion> publisherVersions = new ArrayList<>(); 201 List<PublisherVersion> publisherVersions = new ArrayList<>();
203 List<IndexedPublisher> indexedPublishers = new ArrayList<>(); 202 List<IndexedPublisher> indexedPublishers = new ArrayList<>();
204 when(publisherVersionRepository.findByPublisherVersionIdIn(Mockito.any())).thenReturn(publisherVersions); 203 when(publisherVersionRepository.findByPublisherVersionIdIn(Mockito.any())).thenReturn(publisherVersions);
......