static KiePMMLApply getKiePMMLApply(final Apply apply) {
        final String invalidValueTreatment = apply.getInvalidValueTreatment() != null ?
                apply.getInvalidValueTreatment().value() : null;
        final List<KiePMMLExpression> kiePMMLExpressions = getKiePMMLExpressions(apply.getExpressions());
        final KiePMMLApply.Builder builder = KiePMMLApply.builder(UUID.randomUUID().toString(),
                                                                  getKiePMMLExtensions(apply.getExtensions()),
                                                                  apply.getFunction())
                .withKiePMMLExpressions(kiePMMLExpressions)
                .withMapMissingTo(apply.getMapMissingTo())
                .withDefaultValue(apply.getDefaultValue())
                .withInvalidValueTreatmentMethod(invalidValueTreatment);
        return builder.build();
    }
@Test
    void getKiePMMLApply() {
        Apply toConvert = getRandomApply();
        KiePMMLApply retrieved = KiePMMLApplyInstanceFactory.getKiePMMLApply(toConvert);
        commonVerifyKiePMMLApply(retrieved, toConvert);
    }