@Test
public void getParamMethodDeclaration() {

    String methodName = "METHOD_NAME";
    final Map<String, ClassOrInterfaceType> parameterNameTypeMap = new HashMap<>();
    parameterNameTypeMap.put("stringParam", parseClassOrInterfaceType(String.class.getName()));
    parameterNameTypeMap.put("kiePMMLNameValueParam", parseClassOrInterfaceType(KiePMMLNameValue.class.getName()));
    parameterNameTypeMap.put("listParam", new ClassOrInterfaceType(null, new SimpleName(List.class.getName()), NodeList.nodeList(parseClassOrInterfaceType(KiePMMLNameValue.class.getName()))));
    MethodDeclaration retrieved = CommonCodegenUtils.getMethodDeclaration(methodName, parameterNameTypeMap);
    commonValidateMethodDeclaration(retrieved, methodName);
    commonValidateMethodDeclarationParams(retrieved, parameterNameTypeMap);
}