public static KiePMMLOutputField getKiePMMLOutputField(final OutputField outputField) {
        String name = outputField.getName() != null ?outputField.getName() : "" + outputField.hashCode();
        final String targetField = outputField.getTargetField() != null ?outputField.getTargetField() :
                null;
        final RESULT_FEATURE resultFeature = outputField.getResultFeature() != null ?
                RESULT_FEATURE.byName(outputField.getResultFeature().value()) : null;
        final DATA_TYPE dataType = outputField.getDataType() != null ?
                DATA_TYPE.byName(outputField.getDataType().value()) : null;
        final KiePMMLExpression kiePMMLExpression = outputField.getExpression() != null ?
                getKiePMMLExpression(outputField.getExpression()) : null;
        final KiePMMLOutputField.Builder builder = KiePMMLOutputField.builder(name, Collections.emptyList())
                .withResultFeature(resultFeature)
                .withTargetField(targetField)
                .withValue(outputField.getValue())
                .withDataType(dataType)
                .withRank(outputField.getRank())
                .withKiePMMLExpression(kiePMMLExpression);
        return builder.build();
    }
@Test
    void getKiePMMLOutputField() {
        OutputField toConvert = getRandomOutputField();
        KiePMMLOutputField retrieved = KiePMMLOutputFieldInstanceFactory.getKiePMMLOutputField(toConvert);
        commonVerifyKiePMMLOutputField(retrieved, toConvert);
    }