@Test
void shouldReturnMaxValueTwo() {

    Report issues = new Report();
    IssueBuilder builder = new IssueBuilder();
    issues.add(builder.setCategory("ab").setPackageName("P1").build());
    issues.add(builder.setCategory("ab").setPackageName("P2").build());
    PropertyStatistics statistics = new PropertyStatistics(issues, "category", Function.identity());
    int value = statistics.getMax();
    assertThat(value).isEqualTo(2);
}