void () { final String testName = getTestName(true); final PsiFile file = myFixture.configureByFile(testName + ".groovy"); UsefulTestCase.assertInstanceOf(file, GroovyFile.class); new ConvertToJavaProcessor(getProject(), (GroovyFile)file).run(); myFixture.checkResultByFile(testName + ".java"); }