@Test
public void testRecheckShouldFinishWithoutActionIfResultEmpty() throws IgniteCheckedException {

    MockedProcessor processor = MockedProcessor.create(false);
    Map<KeyCacheObject, Map<UUID, GridCacheVersion>> batchRes = new HashMap<>();
    batchRes.put(new KeyCacheObjectImpl(1, null, PARTITION_ID), new HashMap<>());
    ExecutionResult<Map<KeyCacheObject, Map<UUID, VersionedValue>>> emptyRes = new ExecutionResult<>(new HashMap<>());
    processor.addTask(new Recheck(ReconciliationExecutionContext.IGNORE_JOB_PERMITS_SESSION_ID, UUID.randomUUID(),
        batchRes, DEFAULT_CACHE, PARTITION_ID, 0, 0))
        .whereResult(CollectPartitionKeysByRecheckRequestTask.class, emptyRes)
        .execute();
    processor.verify(never()).schedule(any());
    processor.verify(never()).schedule(any(), anyInt(), any());
    processor.verify(never()).scheduleHighPriority(any());
}