@Test
public void addNumericPredictors() {

    final List<NumericPredictor> numericPredictors = IntStream.range(0, 3).mapToObj(index -> {
        String predictorName = "predictorName-" + index;
        double coefficient = 1.23 * index;
        return PMMLModelTestUtils.getNumericPredictor(predictorName, index, coefficient);
    }).collect(Collectors.toList());
    ClassOrInterfaceDeclaration tableTemplate = new ClassOrInterfaceDeclaration();
    Map<String, MethodDeclaration> retrieved =
            KiePMMLRegressionTableRegressionFactory.addNumericPredictors(numericPredictors, tableTemplate);
    assertEquals(numericPredictors.size(), retrieved.size());
}