boolean isInsideOpenOpen(Number toEvaluate) {
            if (leftMargin == null) {
                return toEvaluate.doubleValue() < rightMargin.doubleValue();
            } else if (rightMargin == null) {
                return toEvaluate.doubleValue() > leftMargin.doubleValue();
            } else {
                return toEvaluate.doubleValue() > leftMargin.doubleValue() && toEvaluate.doubleValue() < rightMargin.doubleValue();
            }
    }
@Test
    void isInsideOpenOpen() {
        KiePMMLInterval kiePMMLInterval = new KiePMMLInterval(null, 20, CLOSURE.OPEN_OPEN);
        assertThat(kiePMMLInterval.isInsideOpenOpen(10)).isTrue();
        assertThat(kiePMMLInterval.isInsideOpenOpen(20)).isFalse();
        assertThat(kiePMMLInterval.isInsideOpenOpen(30)).isFalse();
        kiePMMLInterval = new KiePMMLInterval(20, null, CLOSURE.OPEN_OPEN);
        assertThat(kiePMMLInterval.isInsideOpenOpen(30)).isTrue();
        assertThat(kiePMMLInterval.isInsideOpenOpen(20)).isFalse();
        assertThat(kiePMMLInterval.isInsideOpenOpen(10)).isFalse();
        kiePMMLInterval = new KiePMMLInterval(20, 40, CLOSURE.OPEN_OPEN);
        assertThat(kiePMMLInterval.isInsideOpenOpen(30)).isTrue();
        assertThat(kiePMMLInterval.isInsideOpenOpen(10)).isFalse();
        assertThat(kiePMMLInterval.isInsideOpenOpen(20)).isFalse();
        assertThat(kiePMMLInterval.isInsideOpenOpen(40)).isFalse();
        assertThat(kiePMMLInterval.isInsideOpenOpen(50)).isFalse();
    }