public static void populateGetCreatedKiePMMLOutputFieldsMethod(final ClassOrInterfaceDeclaration modelTemplate,
                                                                   final List<org.dmg.pmml.OutputField> outputFields) {
        final MethodDeclaration methodDeclaration =
                modelTemplate.getMethodsByName(GET_CREATED_KIEPMMLOUTPUTFIELDS).get(0);
        commonPopulateGetCreatedKiePMMLOutputFieldsMethod(methodDeclaration, outputFields);
    }
@Test
    void populateGetCreatedKiePMMLOutputFieldsMethod() throws IOException {
        org.kie.pmml.compiler.commons.codegenfactories.KiePMMLModelFactoryUtils.populateGetCreatedKiePMMLOutputFieldsMethod(classOrInterfaceDeclaration,
                                                                                                                            model.getOutput().getOutputFields());
        final MethodDeclaration retrieved =
                classOrInterfaceDeclaration.getMethodsByName(GET_CREATED_KIEPMMLOUTPUTFIELDS).get(0);
        String text = getFileContent(TEST_11_SOURCE);
        BlockStmt expected = JavaParserUtils.parseBlock(text);
        assertThat(JavaParserUtils.equalsNode(expected, retrieved.getBody().get())).isTrue();
    }