@Test
void shouldNotContainNoIssuesSinceLabelWhenBuildIsYounger() {

    AnalysisResult analysisResult = createAnalysisResult(EMPTY_ORIGINS, 0, 0,
            EMPTY_ERRORS, 0);
    when(analysisResult.getTotalSize()).thenReturn(0);
    when(analysisResult.getBuild()).thenReturn(new Build(1));
    when(analysisResult.getNoIssuesSinceBuild()).thenReturn(3);
    String createdHtml = createSummary(analysisResult).create();
    assertThat(createdHtml).doesNotContain("No warnings for");
    assertThat(createdHtml).contains("No warnings");
}