@Test
public void testMerge() {

    SecurityAnalysisResult[] results = new SecurityAnalysisResult[]{
        result1, result2
    };
    SecurityAnalysisResult mergedResult = SecurityAnalysisResultMerger.merge(results);
    assertEquals(preContingencyResult, mergedResult.getPreContingencyResult());
    assertEquals(Arrays.asList(postContingencyResult, postContingencyResult2), mergedResult.getPostContingencyResults());
}