@Test
void shouldReportFileExceptionError() {

    TaskScanner scanner = new TaskScannerBuilder().build();
    Report report = scanner.scan(new File("").toPath(), StandardCharsets.UTF_8);
    assertThat(report.getErrorMessages()).contains("Exception while reading the source code file '':");
}