@Test
void shouldReturnInfoErrorDetailWhenCalledWithInfoLink() {

    InfoErrorDetail details = createTrendDetails("info", RUN, createResult(),
            ALL_ISSUES, NEW_ISSUES, OUTSTANDING_ISSUES, FIXED_ISSUES, ENCODING, createParent(),
            InfoErrorDetail.class);
    assertThat(details.getErrorMessages()).containsExactly(ERROR_MESSAGES);
    assertThat(details.getDisplayName()).contains(PARENT_NAME);
}