@Test
public void exampleUsage() {

  Message message = SimpleMessage.newBuilder().setName("bob").build();
  Function<Message, ?> getter = protobufPath(message.getDescriptorForType(), "$.name");
  assertThat(getter.apply(message), is("bob"));
}