@Test
public void registerScheduledJobDoesNotRegisterSameJobTwice() {

    // given
    var jobId = "JOB";
    scheduledJobExecutor.scheduledJobIdMap.put(jobMock, jobId);
    // when
    scheduledJobExecutor.registerScheduledJob(jobMock);
    // then
    assertThat(scheduledJobExecutor.scheduledJobIdMap).containsExactly(Map.entry(jobMock, jobId));
}