mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
ACS-3193 isNull(Class<T>) has been removed
This commit is contained in:
+2
-2
@@ -114,7 +114,7 @@ public class MetadataTrackerTest
|
||||
// Subsequent calls to getTransactions must return a different set of transactions to avoid an infinite loop
|
||||
when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt())).thenReturn(txs)
|
||||
.thenReturn(txs).thenReturn(mock(Transactions.class));
|
||||
when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), isNull(ShardState.class))).thenReturn(txs)
|
||||
when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), isNull())).thenReturn(txs)
|
||||
.thenReturn(txs).thenReturn(mock(Transactions.class));
|
||||
when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), any(ShardState.class))).thenReturn(txs)
|
||||
.thenReturn(txs).thenReturn(mock(Transactions.class));
|
||||
@@ -144,7 +144,7 @@ public class MetadataTrackerTest
|
||||
List<Transaction> txsList = new ArrayList<>();
|
||||
when(txs.getTransactions()).thenReturn(txsList);
|
||||
|
||||
when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), isNull(ShardState.class))).thenReturn(txs);
|
||||
when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), isNull())).thenReturn(txs);
|
||||
when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), any(ShardState.class))).thenReturn(txs);
|
||||
when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt())).thenReturn(txs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user