@Test
void executeTaskWithTriggerError() {

    var task = new TriggerTask("trigger-job", null, previous -> previous, ZoneId.systemDefault());
    scheduler.executeTask(task, ZonedDateTime.now());
    verify(jobExecutor, never()).submit((Callable<?>) any(Callable.class));
}