StepContext stepContext = Mockito.mock(StepContext.class);
Mockito.when(stepContext.getStepExecution()).thenReturn(stepExecution);
ChunkContext chunkContext = Mockito.mock(ChunkContext.class);
Mockito.when(chunkContext.getStepContext()).thenReturn(stepContext);
tasklet.execute(contribution, chunkContext);
Operation op = assertOperationDetails(getFirstEntered(), "execute", stepExecution.getStepName());
assertOperationPath(op, stepExecution);
}