@Override
  protected CodeInsightTestFixture createTestFixture(IdeaProjectTestFixture fixture)
      throws Exception {

    JavaCodeInsightTestFixture codeInsightFixture =
        JavaTestFixtureFactory.getFixtureFactory()
            .createCodeInsightFixture(fixture, new LightTempDirTestFixtureImpl(true));

    codeInsightFixture.setTestDataPath(getTestRootPath());

    return codeInsightFixture;
  }
  @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();
  }