Jean-Francois Leveque

Simplification

...@@ -68,7 +68,6 @@ public class AccountServiceDefaultTest { ...@@ -68,7 +68,6 @@ public class AccountServiceDefaultTest {
68 @DisplayName("When called, should return the Accounts it gets from findByUserIdIn") 68 @DisplayName("When called, should return the Accounts it gets from findByUserIdIn")
69 @Test 69 @Test
70 public void testReturnFromFind(@Mock AccountRepository accountRepository) { 70 public void testReturnFromFind(@Mock AccountRepository accountRepository) {
71 - List<Integer> integers = new ArrayList<>();
72 List<Account> accounts = new ArrayList<>(); 71 List<Account> accounts = new ArrayList<>();
73 List<IndexedAccount> indexedAccounts = new ArrayList<>(); 72 List<IndexedAccount> indexedAccounts = new ArrayList<>();
74 when(accountRepository.findByUserIdIn(Mockito.any())).thenReturn(accounts); 73 when(accountRepository.findByUserIdIn(Mockito.any())).thenReturn(accounts);
......