public void commitVersion() {
        isVersionCommitted = true;
    }
@Test
    void testJobVersionerOnCommitVersionIsIncreased() {
        // GIVEN
        Job job = aScheduledJob().withVersion(5).build();

        // WHEN
        JobVersioner jobVersioner = new JobVersioner(job);

        // THEN
        assertThat(job).hasVersion(6);

        // WHEN
        jobVersioner.commitVersion();

        // THEN
        assertThat(job).hasVersion(6);
    }