@Test
void shouldReturnLowCountTwo() {

    Report issues = new Report();
    IssueBuilder builder = new IssueBuilder();
    issues.add(builder.setSeverity(Severity.WARNING_LOW).setCategory(KEY).setOrigin("A").build());
    issues.add(builder.setSeverity(Severity.WARNING_LOW).setCategory(KEY).setOrigin("B").build());
    issues.add(builder.setSeverity(Severity.WARNING_NORMAL).setCategory(KEY).setOrigin("B").build());
    issues.add(builder.setSeverity(Severity.WARNING_HIGH).setCategory(KEY).setOrigin("B").build());
    PropertyStatistics statistics = new PropertyStatistics(issues, "category", Function.identity());
    long value = statistics.getLowCount(KEY);
    assertThat(value).isEqualTo(2);
}