@Test
public void getProbabilityMap() {

    LinkedHashMap<String, Double> resultMap = new LinkedHashMap<>();
    resultMap.put(CASE_B, firstTableResult);
    resultMap.put(CASE_A, secondTableResult);
    LinkedHashMap<String, Double> retrieved = classificationTable.getProbabilityMap(resultMap,
                                                                                    FIRST_ITEM_OPERATOR,
                                                                                    SECOND_ITEM_OPERATOR);
    double expectedDouble = FIRST_ITEM_OPERATOR.applyAsDouble(firstTableResult);
    assertEquals(expectedDouble, retrieved.get(CASE_B), 0.0);
    expectedDouble = SECOND_ITEM_OPERATOR.applyAsDouble(expectedDouble);
    assertEquals(expectedDouble, retrieved.get(CASE_A), 0.0);
}