void () { final String name = getTestName(false); for (Module module : new Module[] {myJava7Module, myJava8Module}) { ModuleRootModificationUtil.updateModel(module, model -> ClsGenericsHighlightingTest.commitLibraryModel(model, myFixture.getTestDataPath(), name + ".jar")); } myFixture.configureByFiles("java7/p/" + name + ".java", "java8/p/" + name + ".java"); myFixture.checkHighlighting(); }