@Test
public void testBatchDoesNotHaveElementsNothingSchedule() throws IgniteCheckedException {

    MockedProcessor processor = MockedProcessor.create(false);
    ExecutionResult<T2<KeyCacheObject, Map<KeyCacheObject, Map<UUID, GridCacheVersion>>>> emptyRes = new ExecutionResult<>(new T2<>(null, new HashMap<>()));
    processor.addTask(new Batch(ReconciliationExecutionContext.IGNORE_JOB_PERMITS_SESSION_ID, UUID.randomUUID(),
        DEFAULT_CACHE, PARTITION_ID, null))
        .whereResult(CollectPartitionKeysByBatchTask.class, emptyRes)
        .execute();
    processor.verify(never()).schedule(any());
    processor.verify(never()).schedule(any(), anyInt(), any());
    processor.verify(never()).scheduleHighPriority(any());
}