@Test
public void testGetJobExecutionDetailsModel() {

    final LightminClientApplication applicationInstance = new LightminClientApplication();
    when(this.registrationBean.findById(APPLICATION_INSTANCE_ID)).thenReturn(applicationInstance);
    final JobExecution jobExecution = ApiTestHelper.createJobExecution(JOB_EXECUTION_ID);
    when(this.jobServerService.getJobExecution(JOB_EXECUTION_ID, applicationInstance)).thenReturn(jobExecution);
    final JobExecutionDetailsModel result =
            this.jobExecutionFeService.getJobExecutionDetailsModel(JOB_EXECUTION_ID, APPLICATION_INSTANCE_ID);
    BDDAssertions.then(result).isNotNull();
    BDDAssertions.then(result.getId()).isEqualTo(jobExecution.getId());
}