@Test
void shouldConvertReportWithTwoLinesInOneFile() {

    Report report = new Report();
    IssueBuilder builder = new IssueBuilder();
    builder.setDirectory(WORKSPACE);
    report.add(builder.setFileName(TXT_FILE).setLineStart(1).build());
    report.add(builder.setFileName(TXT_FILE).setLineStart(5).build());
    FileLocations twoLines = new ReportLocations().toFileLocations(report);
    assertThat(twoLines.getFiles()).containsExactly(absolute(TXT_FILE));
    assertThat(twoLines.getLines(absolute(TXT_FILE))).containsExactly(1, 5);
}