source: class JobExecutionResultTest {
  
      @Test
      public void givenRunningJobExecutionWithoutEndTime_whenGetDuration_thenReturnNull() {
  
target:         JobExecutionResult jobExecutionResult = new JobExecutionResult(1234567L, "STARTED", new Date(0), null, "1");
          assertThat(jobExecutionResult.getDuration()).isNull();
      }
  
  }