@Test
void shouldMergeNumberOfFixedIssues() {

    AnalysisBuildResult first = createAnalysisBuildResultWithNewAndFixedIssues(0, 2);
    AnalysisBuildResult second = createAnalysisBuildResultWithNewAndFixedIssues(0, 3);
    CompositeBuildResult run = new CompositeBuildResult();
    assertThat(run).hasFixedSize(0);
    assertThat(run.add(first)).hasFixedSize(2);
    assertThat(run.add(second)).hasFixedSize(5);
}