@Test
void shouldMergeNumberOfTotalIssues() {

    AnalysisBuildResult first = createAnalysisBuildResult(1, 2, 3, 4);
    AnalysisBuildResult second = createAnalysisBuildResult(5, 6, 7, 8);
    CompositeBuildResult run = new CompositeBuildResult();
    assertThat(run).hasTotalSize(0);
    assertThat(run.add(first)).hasTotalSize(10);
    assertThat(run.add(second)).hasTotalSize(36);
}