@Test
public void testCompletion09() throws Exception {

  JavaCompletion completion = getCompletion();
  File file =
      new File(
              project.getProjectRootPath(), "./src/main/java/meghanada/analyze/JavaAnalyzer.java")
          .getCanonicalFile();
  assertTrue(file.exists());
  final Collection<? extends CandidateUnit> units =
      timeIt(
          () ->
              completion.completionAt(
                  file,
                  79,
                  35,
                  "*method:capture of ? extends com.sun.source.tree.CompilationUnitTree#"));
  // units.forEach(a -> log.info(a.getDisplayDeclaration()));
  Config config = Config.load();
  if (config.isJava8()) {
    assertEquals(17, units.size());
  } else {
    assertEquals(18, units.size());
  }
}