void () { configureByFile(getBasePath()+"/X.java"); List<IntentionAction> emptyActions = getAvailableActions(); for (int i = emptyActions.size()-1; i>=0; i--) { IntentionAction action = emptyActions.get(i); action = IntentionActionDelegate.unwrap(action); if (!(action instanceof EmptyIntentionAction)) emptyActions.remove(i); } assertEquals(emptyActions.toString(), 1, emptyActions.size()); }