@Test
void basicCreation() {

    // Given/when
    Job job = createStandardJob();
    // Then
    assertThat(job.getId()).isNotNull();
    assertThat(job.getVersion()).isNotNull();
    assertThat(job.getName()).isEqualTo("Some name");
    assertThat(job.isEnabled()).isTrue();
    Job loadedJob = dao.fetch(job.getId()).get();
    assertThat(loadedJob.getId()).isEqualTo(job.getId());
    assertThat(loadedJob.getVersion()).isNotNull();
    assertThat(loadedJob.getName()).isEqualTo("Some name");
    assertThat(loadedJob.isEnabled()).isTrue();
}