@Test
public void analyzeFail() throws Exception {

  System.setProperty(Source.REPORT_UNKNOWN_TREE, "false");
  final JavaAnalyzer analyzer = getAnalyzer();
  final String cp = getSystemClasspath();
  List<File> files;
  try (Stream<Path> stream =
      Files.walk(
          new File(project.getProjectRootPath(), "./src/main/java").toPath(),
          FileVisitOption.FOLLOW_LINKS)) {
    files =
        stream
            .filter(
                path -> {
                  File file = path.toFile();
                  return FileUtils.isJavaFile(file);
                })
            .map(Path::toFile)
            .collect(Collectors.toList());
  }
  try (Stream<Path> stream =
      Files.walk(
          new File(project.getProjectRootPath(), "./src/test/java").toPath(),
          FileVisitOption.FOLLOW_LINKS)) {
    List<File> testFiles =
        stream
            .filter(
                path -> {
                  File file = path.toFile();
                  return FileUtils.isJavaFile(file);
                })
            .map(Path::toFile)
            .collect(Collectors.toList());
    files.addAll(testFiles);
  }
  // System.setProperty(Source.REPORT_UNKNOWN_TREE, "true");
  final String tmp = System.getProperty("java.io.tmpdir");
  List<File> finalFiles = files;
  timeIt(
      () -> {
        final CompileResult compileResult = analyzer.analyzeAndCompile(finalFiles, cp, tmp);
        // compileResult.getSources().values().forEach(Source::dump);
        return compileResult;
      });
}