@Test
public void getAsIntOutOfBound() {

    AbstractNode<N> nodeMax = parentWithChildLong(Integer.MAX_VALUE + 1L);
    assertThatExceptionOfType(NodeProcessingException.class).
            isThrownBy(() -> nodeMax.getAsInt("child"));
    AbstractNode<N> nodeMin = parentWithChildLong(Integer.MIN_VALUE - 1L);
    assertThatExceptionOfType(NodeProcessingException.class).
            isThrownBy(() -> nodeMin.getAsInt("child"));
}