@Test
void shouldCreateLinkToConsoleLog() {

    FileNameRenderer renderer = createRenderer(false);
    Issue issue = new IssueBuilder().setFileName(ConsoleLogHandler.JENKINS_CONSOLE_LOG_FILE_NAME_ID).setLineStart(20).build();
    assertThat(renderer.renderAffectedFileLink(issue)).matches("<a href=\"source\\.[0-9a-f-]+/#20\">Console Output:20</a>");
    assertThat(renderer.renderAffectedFileLink(issue)).contains(issue.getId().toString());
}