@Test
public void testCompletion07() throws Exception {

  JavaCompletion completion = getCompletion();
  File file =
      new File(
              project.getProjectRootPath(),
              "./src/main/java/meghanada/analyze/ExpressionScope.java")
          .getCanonicalFile();
  assertTrue(file.exists());
  final Collection<? extends CandidateUnit> logMethod =
      timeIt(() -> completion.completionAt(file, 17, 4, "*method:java.lang.System#"));
  // logMethod.forEach(a -> log.info(a.getDeclaration()));
  Config config = Config.load();
  if (config.isJava8()) {
    assertEquals(39, logMethod.size());
  } else {
    assertEquals(41, logMethod.size());
  }
}