@Test
public void valueNode() throws JsonProcessingException, IOException {

  String json = "{ \"a\": { \"b\": { \"c\": 1 } } }";
  JsonNode node = new ObjectMapper().readTree(json);
  underTest = new PartitionNodeFunction(KeyPathParser.parse("$.a.b.c"));
  JsonNode result = underTest.apply(node);
  assertThat(result, is(JsonNodeFactory.instance.numberNode(1)));
}