void () { final String name = getTestName(false); IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_7, myFixture.getModule(), getTestRootDisposable()); myFixture.configureByFile(name + ".java"); myFixture.checkHighlighting(false, false, false); }