void () { ModuleRootModificationUtil.addDependency(myJava8Module, myJava3Module); final String name = getTestName(false); myFixture.copyFileToProject("java3/p/" + name + ".java"); myFixture.configureByFiles("java8/p/" + name + ".java"); myFixture.checkHighlighting(); }