@Test
public void getSensitivityValuesContingency() {

    List<SensitivityValue> values = new ArrayList<>();
    values.add(new SensitivityValue(factorOk, Double.NaN, Double.NaN, Double.NaN));
    values.add(new SensitivityValue(factorNok, Double.NaN, Double.NaN, Double.NaN));
    Map<String, List<SensitivityValue>> valuesContingency = Collections.singletonMap("Contingency", values);
    SensitivityAnalysisResult results = new SensitivityAnalysisResult(true, Collections.emptyMap(), "", values, valuesContingency);
    assertEquals(valuesContingency.get("Contingency").size(), results.getSensitivityValuesContingencies().get("Contingency").size());
}