void (final String controllerName) { myFixture.configureByFiles(getTestName(true) + ".fxml", controllerName + ".java"); final IntentionAction singleIntention = myFixture.findSingleIntention(getHint("unknown")); assertNotNull(singleIntention); myFixture.launchAction(singleIntention); myFixture.checkResultByFile(controllerName + ".java", controllerName + "_after.java", true); }