@Test public void randomOnMissingNode() { assertThat(fn.apply(MissingNode.getInstance()), is(RANDOM_VALUE)); }
@Override public Integer apply(JsonNode node) { return Optional.of(node).filter(n -> !n.isMissingNode()).map(Objects::hashCode).orElse(random.nextInt()); }
JsonNodeHashCodeFunction implements Function<JsonNode, Integer> { @Override public Integer apply(JsonNode node) { return Optional.of(node).filter(n -> !n.isMissingNode()).map(Objects::hashCode).orElse(random.nextInt()); } }
JsonNodeHashCodeFunction implements Function<JsonNode, Integer> { @Override public Integer apply(JsonNode node) { return Optional.of(node).filter(n -> !n.isMissingNode()).map(Objects::hashCode).orElse(random.nextInt()); }  }
JsonNodeHashCodeFunction implements Function<JsonNode, Integer> { @Override public Integer apply(JsonNode node) { return Optional.of(node).filter(n -> !n.isMissingNode()).map(Objects::hashCode).orElse(random.nextInt()); }  @Override Integer apply(JsonNode node); }
JsonNodeHashCodeFunction implements Function<JsonNode, Integer> { @Override public Integer apply(JsonNode node) { return Optional.of(node).filter(n -> !n.isMissingNode()).map(Objects::hashCode).orElse(random.nextInt()); }  @Override Integer apply(JsonNode node);  }