@Test
void shouldReturnPriorityDetailWithHighPriorityIssuesWhenCalledWithHighLink() {

    IssuesDetail details = createTrendDetails("HIGH", RUN, createResult(),
            ALL_ISSUES, NEW_ISSUES, OUTSTANDING_ISSUES, FIXED_ISSUES, ENCODING, createParent(),
            IssuesDetail.class);
    assertThatPrioritiesAreFiltered(details, Severity.WARNING_HIGH);
    assertThatPrioritiesAreCorrectlySet(details, 3, 0, 0);
}