@Test
public void shouldGetJobMetaAsInstant() {

    when(metaRepository.getValue("someJob", "key")).thenReturn("42");
    final Instant value = testee.getMetaAsInstant("key");
    assertThat(value.toEpochMilli(), is(42L));
}