static KiePMMLMissingValueWeights getKiePMMLMissingValueWeights(MissingValueWeights missingValueWeights) {
        return missingValueWeights != null ? new KiePMMLMissingValueWeights(getMissingValueWeightsDoubleValues(missingValueWeights)) : null;
    }
@Test
    void getKiePMMLMissingValueWeights() {
        assertThat(KiePMMLClusteringModelFactory.getKiePMMLMissingValueWeights(null)).isNull();
        KiePMMLMissingValueWeights retrieved =
                KiePMMLClusteringModelFactory.getKiePMMLMissingValueWeights(new MissingValueWeights());
        assertThat(retrieved).isNotNull();
        assertThat(retrieved.getValues()).isNotNull();
        assertThat(retrieved.getValues()).isEmpty();
        MissingValueWeights missingValueWeights = new MissingValueWeights();
        final Random random = new Random();
        final List<Double> doubleValues =
                IntStream.range(0, 3).mapToObj(i -> random.nextDouble()).collect(Collectors.toList());
        final List<String> values = doubleValues.stream().map(String::valueOf).collect(Collectors.toList());
        Array array = getArray(Array.Type.REAL, values);
        missingValueWeights.setArray(array);
        retrieved =
                KiePMMLClusteringModelFactory.getKiePMMLMissingValueWeights(missingValueWeights);
        commonEvaluateKiePMMLMissingValueWeights(retrieved, missingValueWeights);
    }