@Test
public void getJobExecutionTest() {

    final Long jobExecutionId = 10L;
    when(this.jobExplorer.getJobExecution(jobExecutionId)).thenReturn(DomainTestHelper.createJobExecution(jobExecutionId));
    final JobExecution jobExecution = this.jobService.getJobExecution(jobExecutionId);
    assertThat(jobExecution).isNotNull();
    assertThat(jobExecution.getId()).isEqualTo(jobExecutionId);
}