void (String beforeText, String afterText) { myFixture.configureByText("a.java", beforeText); final IntentionAction intentionAction = myFixture.findSingleIntention(JavaBundle.message("intention.add.explicit.type.arguments.family")); assertNotNull(intentionAction); myFixture.launchAction(intentionAction); myFixture.checkResult(afterText); }