@Test
public void getAsLong() {

    AbstractNode<N> node = parentWithChildInt(42);
    assertThat(node.getAsLong("child")).isEqualTo(42);
    node = parentWithChildLong(Long.MAX_VALUE);
    assertThat(node.getAsLong("child")).isEqualTo(Long.MAX_VALUE);
    node = parentWithChildLong(Long.MIN_VALUE);
    assertThat(node.getAsLong("child")).isEqualTo(Long.MIN_VALUE);
}