@Test
public void evaluateRegression() {

    Map<String, Object> input = new HashMap<>();
    input.put(FIRST_NUMERIC_INPUT, firstNumericalInput);
    input.put(SECOND_NUMERIC_INPUT, secondNumericalInput);
    input.put(FIRST_CATEGORICAL_INPUT, "unused");
    input.put(SECOND_CATEGORICAL_INPUT, "unused");
    Object retrieved = regressionTable.evaluateRegression(input);
    assertEquals(expectedResult, retrieved);
    final Map<String, Object> outputFieldsMap = regressionTable.getOutputFieldsMap();
    assertTrue(outputFieldsMap.containsKey(TARGET_FIELD));
    assertEquals(expectedResult, outputFieldsMap.get(TARGET_FIELD));
}