void (@NotNull String actionName) { final List<IntentionAction> available = getAvailableActions(); final IntentionAction action = findActionWithText(available, actionName); assertNotNull("Action '" + actionName + "' not found among " + available, action); invoke(action); }