void (int count) { final String testName = getTestName(false); myFixture.configureByFile(testName + "_0.groovy"); myFixture.getEditor().getSettings().setCamelWords(true); for (int i = 0; i < count; i++) { performEditorAction(IdeActions.ACTION_EDITOR_SELECT_WORD_AT_CARET); myFixture.checkResultByFile(testName + "_" + (i + 1) + ".groovy"); } }