return new CalculationJobSpecification(UniqueId.of("Cycle", "1"), "Default", Instant.now(), JobIdSource.getId());
}
public void testStandardJob_createWatchedJob_singleItem() {
final JobDispatcher dispatcher = new JobDispatcher();
final FunctionBlacklistMaintainer blacklist = Mockito.mock(FunctionBlacklistMaintainer.class);
dispatcher.setFunctionBlacklistMaintainer(blacklist);
final CalculationJob job = new CalculationJob(createJobSpecification(), 0, VersionCorrection.LATEST, null, Arrays.asList(JOB_ITEM_A), CacheSelectHint.allShared());
final StandardJob standard = new StandardJob(dispatcher, job, Mockito.mock(JobResultReceiver.class));
final WatchedJob watched = standard.createWatchedJob();
assertNull(watched);