static KiePMMLDiscretizeBin getKiePMMLDiscretizeBin(final DiscretizeBin discretizeBin) {
        KiePMMLInterval interval = KiePMMLIntervalInstanceFactory.getKiePMMLInterval(discretizeBin.getInterval());
        String binValue = discretizeBin.getBinValue() != null ? discretizeBin.getBinValue().toString() : null;
        return new KiePMMLDiscretizeBin(UUID.randomUUID().toString(),
                                        getKiePMMLExtensions(discretizeBin.getExtensions()),
                                        binValue,
                                        interval);
    }
@Test
    void getKiePMMLDiscretizeBin() {
        DiscretizeBin toConvert = getRandomDiscretizeBin();
        KiePMMLDiscretizeBin retrieved = KiePMMLDiscretizeBinInstanceFactory.getKiePMMLDiscretizeBin(toConvert);
        commonVerifyKiePMMLDiscretizeBin(retrieved, toConvert);
    }