@Test
public void randomOnNullPath() {

  @SuppressWarnings("resource")
  Function<JsonNode, Integer> fn = new MessageHashCodeFunctionSupplier(() -> null, random).get();
  assertThat(fn.apply(message), is(RANDOM_VALUE));
}