@Test
public void getAsLongOutOfBound() {

    AbstractNode<N> nodeMax = parentWithChildBigInteger(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE));
    assertThatExceptionOfType(NodeProcessingException.class).
            isThrownBy(() -> nodeMax.getAsLong("child"));
    AbstractNode<N> nodeMin = parentWithChildBigInteger(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE));
    assertThatExceptionOfType(NodeProcessingException.class).
            isThrownBy(() -> nodeMin.getAsLong("child"));
}