@Test
public void getRegressionTableTest() {

    regressionTable = getRegressionTable(3.5, "professional");
    List<RegressionTable> regressionTables = Collections.singletonList(regressionTable);
    Map<String, KiePMMLTableSourceCategory> retrieved =
            KiePMMLRegressionTableRegressionFactory.getRegressionTables(regressionTables,
                                                                        RegressionModel.NormalizationMethod.CAUCHIT,
                                                                        Collections.emptyList(),
                                                                        "targetField",
                                                                        "packageName");
    assertNotNull(retrieved);
    retrieved.values().forEach(kiePMMLTableSourceCategory -> commonValidateKiePMMLRegressionTable(kiePMMLTableSourceCategory.getSource()));
}