CodeInsightTestFixture (IdeaTestFixtureFactory factory) { TestFixtureBuilder<IdeaProjectTestFixture> builder = factory.createFixtureBuilder(getName()); EmptyModuleFixtureBuilder<?> moduleBuilder = builder.addModule(EmptyModuleFixtureBuilder.class); IdeaProjectTestFixture fixture = builder.getFixture(); CodeInsightTestFixture testFixture = factory.createCodeInsightFixture(fixture); moduleBuilder.addContentRoot(testFixture.getTempDirPath()); moduleBuilder.addSourceRoot("/"); return testFixture; }