@Test
public void pathResolvesToMissingInMessage() {

  JsonKeyEncoder encoder = new JsonKeyEncoder(() -> KeyPathParser.parse("$.X"), random);
  assertThat(encoder.encode(message), is(asBytes(RANDOM_VALUE)));
}