@Test
void shutdown() throws InterruptedException {

    when(schedulerExecutor.awaitTermination(anyLong(), eq(TimeUnit.MILLISECONDS))).thenReturn(Boolean.TRUE);
    scheduler.shutdown();
    verify(schedulerExecutor).shutdown();
    verify(jobExecutor).shutdown();
}