void (final String actionName) { String path = getTestName(true) + ".fxml"; myFixture.configureByFiles(path, getTestName(false) + ".java"); IntentionAction intention = myFixture.findSingleIntention(actionName); assertNotNull(intention); myFixture.launchAction(intention); myFixture.checkResultByFile(getTestName(false) + ".java", getTestName(false) + "_after.java", true); }