@Test
void shouldReturnFixedWarningsDetailWhenCalledWithFixedLink() {

    FixedWarningsDetail details = createTrendDetails("fixed", RUN, createResult(),
            ALL_ISSUES, NEW_ISSUES, OUTSTANDING_ISSUES, FIXED_ISSUES, ENCODING, createParent(),
            FixedWarningsDetail.class);
    assertThat(details).hasIssues(FIXED_ISSUES);
    assertThat(details).hasFixedIssues(FIXED_ISSUES);
    assertThat(details).hasNewIssues(NO_ISSUES);
    assertThat(details).hasOutstandingIssues(NO_ISSUES);
}