void (@NonNls final String ext, int times) { @NonNls String path = "/codeInsight/joinLines/"; configureByFile(path + getTestName(false) + ext); while (times-- > 0) { performAction(); } checkResultByFile(path + getTestName(false) + "_after" + ext); }