public static Map<String, String> getKiePMMLNodeSourcesMap(final NodeNamesDTO nodeNamesDTO,
                                                               final List<Field<?>> fields,
                                                               final String packageName) {
        logger.trace("getKiePMMLNodeSourcesMap {} {}", nodeNamesDTO, packageName);
        final JavaParserDTO javaParserDTO = new JavaParserDTO(nodeNamesDTO, packageName);
        final Map<String, String> toReturn = new HashMap<>();
        populateJavaParserDTOAndSourcesMap(javaParserDTO, toReturn, nodeNamesDTO, fields,true);
        return toReturn;
    }
@Test
    void getKiePMMLNodeSourcesMap() {
        final KiePMMLNodeFactory.NodeNamesDTO nodeNamesDTO = new KiePMMLNodeFactory.NodeNamesDTO(node1,
                createNodeClassName(),
                null,
                1.0);

        Map<String, String> retrieved = KiePMMLNodeFactory.getKiePMMLNodeSourcesMap(nodeNamesDTO,
                getFieldsFromDataDictionaryAndDerivedFields(dataDictionary1, derivedFields1),
                PACKAGE_NAME);
        assertThat(retrieved).isNotNull();
        commonVerifyNodeSource(retrieved, PACKAGE_NAME);
    }