source: class JsonKeyEncoderTest {
  
    private static final int RANDOM_VALUE;
    private @Mock Random random;
    private JsonNode message;
  
    @Test
    public void pathResolvesToNullInMessage() {
  
target:     JsonKeyEncoder encoder = new JsonKeyEncoder(() -> KeyPathParser.parse("$.c"), random);
      assertThat(encoder.encode(message), is(asBytes(message.get("c").hashCode())));
    }
  
  }