void () { final String name = getTestName(false); myFixture.configureByFile(name + ".java"); myFixture.checkPreviewAndLaunchAction(myFixture.findSingleIntention(JavaBundle.message("inspection.unused.return.value.make.void.quickfix"))); myFixture.checkResultByFile(name + ".after.java"); }