@Override
 protected void tuneFixture(JavaModuleFixtureBuilder moduleBuilder) throws Exception {
   String pathForClass = PathUtil.getJarPathForClass(LocalInspectionEP.class);
   moduleBuilder.addLibrary("lang-api", pathForClass);
   String platformApiJar = PathUtil.getJarPathForClass(JBList.class);
   moduleBuilder.addLibrary("platform-api", platformApiJar);
 }
 @Override
 protected void tuneFixture(JavaModuleFixtureBuilder moduleBuilder) throws Exception {
   moduleBuilder.setLanguageLevel(LanguageLevel.JDK_1_8);
   moduleBuilder.addLibraryJars(
       "guava-17.0.jar",
       PathManager.getHomePath().replace(File.separatorChar, '/') + "/community/lib/",
       "guava-17.0.jar");
   moduleBuilder.addLibraryJars(
       "guava-17.0.jar-2",
       PathManager.getHomePath().replace(File.separatorChar, '/') + "/lib/",
       "guava-17.0.jar");
   moduleBuilder.addJdk(IdeaTestUtil.getMockJdk18Path().getPath());
 }
  @Override
  public void setUp() throws Exception {
    super.setUp();
    final TestFixtureBuilder<IdeaProjectTestFixture> projectBuilder =
        IdeaTestFixtureFactory.getFixtureFactory().createFixtureBuilder(getName());

    myFixture =
        JavaTestFixtureFactory.getFixtureFactory()
            .createCodeInsightFixture(projectBuilder.getFixture());
    final String dataPath = PathManagerEx.getTestDataPath() + "/codeInsight/externalAnnotations";
    myFixture.setTestDataPath(dataPath);
    final JavaModuleFixtureBuilder builder =
        projectBuilder.addModule(JavaModuleFixtureBuilder.class);
    builder.setMockJdkLevel(JavaModuleFixtureBuilder.MockJdkLevel.jdk15);

    myFixture.setUp();
    myModule = builder.getFixture().getModule();
    myProject = myFixture.getProject();
  }
 @Override
 protected void tuneFixture(JavaModuleFixtureBuilder moduleBuilder) throws Exception {
   moduleBuilder.setMockJdkLevel(JavaModuleFixtureBuilder.MockJdkLevel.jdk15);
   moduleBuilder.addJdk(JavaSdkImpl.getMockJdk17Path().getPath());
   super.tuneFixture(moduleBuilder);
 }
 @Override
 protected void tuneFixture(JavaModuleFixtureBuilder moduleBuilder) {
   moduleBuilder.setMockJdkLevel(JavaModuleFixtureBuilder.MockJdkLevel.jdk15);
 }