void (boolean invert) { String test = getTestName(false); String before = invert ? "after" : "before"; configureByFile("/codeInsight/commentByBlock/xml/" + before + test + ".xml"); performAction(); String after = invert ? "before" : "after"; checkResultByFile("/codeInsight/commentByBlock/xml/" + after + test + ".xml"); }