static void verifyAddMissingValues(final List<KiePMMLMiningField> notTargetMiningFields,
                                       final PMMLRequestData requestData) {
        logger.debug("verifyMissingValues {} {}", notTargetMiningFields, requestData);
        Collection<ParameterInfo> requestParams = requestData.getRequestParams();
        notTargetMiningFields
                .forEach(miningField -> {
                    ParameterInfo parameterInfo = requestParams.stream()
                            .filter(paramInfo -> miningField.getName().equals(paramInfo.getName()))
                            .findFirst()
                            .orElse(null);
                    if (parameterInfo == null) {
                        manageMissingValues(miningField, requestData);
                    }
                });
    }
@Test
    void verifyAddMissingValuesNotMissingNotReturnInvalidReplacement() {
        KiePMMLMiningField miningField0 = KiePMMLMiningField.builder("FIELD-0", null)
                .withDataType(DATA_TYPE.STRING)
                .withMissingValueTreatmentMethod(MISSING_VALUE_TREATMENT_METHOD.AS_IS)
                .withMissingValueReplacement("123")
                .withAllowedValues(Arrays.asList("123", "124", "125"))
                .build();
        KiePMMLMiningField miningField1 = KiePMMLMiningField.builder("FIELD-1", null)
                .withDataType(DATA_TYPE.DOUBLE)
                .withMissingValueTreatmentMethod(MISSING_VALUE_TREATMENT_METHOD.AS_IS)
                .withMissingValueReplacement("1.23")
                .withAllowedValues(Arrays.asList("1.23", "12.4", "1.25"))
                .build();
        List<KiePMMLInterval> intervals = Arrays.asList(new KiePMMLInterval(0.0, 12.4, CLOSURE.CLOSED_CLOSED),
                new KiePMMLInterval(12.6, 14.5, CLOSURE.OPEN_CLOSED));
        KiePMMLMiningField miningField2 = KiePMMLMiningField.builder("FIELD-2", null)
                .withDataType(DATA_TYPE.FLOAT)
                .withMissingValueTreatmentMethod(MISSING_VALUE_TREATMENT_METHOD.AS_IS)
                .withMissingValueReplacement("12.9")
                .withIntervals(intervals)
                .build();

        List<KiePMMLMiningField> miningFields = Arrays.asList(miningField0, miningField1, miningField2);
        PMMLRequestData pmmlRequestData = new PMMLRequestData("123", "modelName");
        assertThat(pmmlRequestData.getRequestParams()).isEmpty();
        PreProcess.verifyAddMissingValues(miningFields, pmmlRequestData);
        Map<String, ParameterInfo> mappedRequestParams = pmmlRequestData.getMappedRequestParams();
        assertThat(mappedRequestParams).hasSameSizeAs(miningFields);
        assertThat(mappedRequestParams.get("FIELD-0").getValue()).isEqualTo("123");
        assertThat(mappedRequestParams.get("FIELD-1").getValue()).isEqualTo(1.23);
        assertThat(mappedRequestParams.get("FIELD-2").getValue()).isEqualTo(12.9f);
    }