@Test
public void getObjectValues() {

    AbstractNode<N> node = objectNode(pair("A", "1"), pair("B", "2"), pair("C", "3"));
    Map<String, String> values = node.getObjectValues().entrySet().stream().
            collect(Collectors.toMap(Map.Entry::getKey, entry -> entry.getValue().getAsString()));
    assertThat(values).containsExactly(entry("A", "1"), entry("B", "2"), entry("C", "3"));
    assertThat(emptyNode().getObjectValues()).isEmpty();
}