void (List<? extends MyUnwrapAction> options, Editor editor, PsiFile file) { for (AnAction option : options) { assertFalse("\"" + optionName + "\" is available to unwrap ", option.toString().contains(optionName)); } }