@Test
public void shouldGetJobMetaAsString() {

    when(metaRepository.getValue("someJob", "key")).thenReturn("42");
    final String value = testee.getMetaAsString("key");
    assertThat(value, is("42"));
}