public static ExecutionComplete simulatedSuccess(Instant timeDone) {
    TaskInstance nonExistingTaskInstance = new TaskInstance("non-existing-task", "non-existing-id");
    Execution nonExistingExecution =
        new Execution(
            timeDone,
            nonExistingTaskInstance,
            false,
            "simulated-picked-by",
            timeDone,
            null,
            0,
            null,
            1);
    return new ExecutionComplete(
        nonExistingExecution, timeDone.minus(Duration.ofSeconds(1)), timeDone, Result.OK, null);
  }
Simulated ExecutionComplete used to generate first execution-time from a Schedule.
db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/task/ExecutionComplete.java