void () { myFixture.configureByText(JavaFileType.INSTANCE, """ class Foo { <caret> private String test() { return null; }}"""); myFixture.findAllGutters(); List<IntentionAction> intentions = myFixture.getAvailableIntentions().stream() .map(IntentionActionDelegate::unwrap) .filter(action -> !(action instanceof AdvertisementAction)) .filter(action -> !(action instanceof EditIntentionSettingsAction)) .filter(action -> !(action instanceof EnableDisableIntentionAction)) .filter(action -> !(action instanceof AssignShortcutToIntentionAction)) .toList(); assertEmpty(intentions); }