@Test
void shouldNotContainNoIssuesSinceLabelWhenTotalIsNotZero() {

    AnalysisResult analysisResult = createAnalysisResult(EMPTY_ORIGINS, 0, 0,
            EMPTY_ERRORS, 0);
    when(analysisResult.getTotalSize()).thenReturn(1);
    String createdHtml = createSummary(analysisResult).create();
    assertThat(createdHtml).doesNotContain("No warnings for");
    assertThat(createdHtml).contains("<a href=\"test\">One warning</a>");
}