@Test
void testGetScheduleTime() {

    
    Job job = new Job();
    job.setId("123");
    job.setExpirationTime(ZonedDateTime.now());
    
    when(restTemplate.getForObject(any(), any(), anyString())).thenReturn(job);
    
    ZonedDateTime scheduledTime = tested.getScheduledTime("123");
    assertThat(scheduledTime).isEqualTo(job.getExpirationTime());
    verify(restTemplate).getForObject(tested.getJobsServiceUri() + "/{id}", Job.class, "123");
}