@Test
public void testCompletion08() 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:java.util.Iterator<capture of ? extends com.sun.source.tree.CompilationUnitTree>#"));
  // units.forEach(a -> log.info(a.getDisplayDeclaration()));
  assertEquals(13, units.size());
  for (CandidateUnit unit : units) {
    if (unit.getName().equals("next")) {
      final String returnType = unit.getReturnType();
      assertEquals("CompilationUnitTree", returnType);
    }
  }
}