@Test
public void testFailedResultsMerge() {

    SecurityAnalysisResult[] results = new SecurityAnalysisResult[]{
        failedResult, result2
    };
    SecurityAnalysisResult mergedResult = SecurityAnalysisResultMerger.merge(results);
    assertEquals(SecurityAnalysisResultMerger.FAILED_SECURITY_ANALYSIS_RESULT, mergedResult);
}