@Test
public void testSmartCompletionNoType() 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, 59, 6, "*diagnostic*fileObject#"));
  units.forEach(a -> log.info(a.getDisplayDeclaration()));
  CandidateUnit unit = (CandidateUnit) units.toArray()[0];
  assertEquals("equals", unit.getName());
}