@Test
void testGetScheduleTimeJobNotFound() {

    when(restTemplate.getForObject(any(), any(), anyString())).thenThrow(NotFound.class);
    
    assertThatThrownBy(() -> tested.getScheduledTime("123")).isInstanceOf(JobNotFoundException.class);
    verify(restTemplate).getForObject(tested.getJobsServiceUri() + "/{id}", Job.class, "123");
}