@Test
void shouldNotContainQualityGateResult() {

    AnalysisResult analysisResult = createAnalysisResult(EMPTY_ORIGINS, 0, 0,
            EMPTY_ERRORS, 0);
    when(analysisResult.getQualityGateStatus()).thenReturn(QualityGateStatus.INACTIVE);
    String createdHtml = createSummary(analysisResult).create();
    assertThat(createdHtml).doesNotContain("Quality gate");
}