@Test
public void shouldHandleNonExistingJson() {

    Assertions.assertThatExceptionOfType(LifecycleExecutionException.class)
            .isThrownBy(() -> loader.load(Paths.get("doesNotExist"), logger));
}