void () { ModuleRootModificationUtil.addDependency(myJava8Module, myJava7Module); myFixture.copyFileToProject("java7/p/I.java"); myFixture.copyFileToProject("java8/p/I.java"); final String testName = getTestName(false); myFixture.configureByFiles("java8/p/" + testName + ".java", "java7/p/" + testName + ".java"); myFixture.checkHighlighting(); }