void (String message) { myFixture.configureByFile(getTestName(false) + ".java"); final List<IntentionAction> availableActions = getAvailableActions(); assertTrue(message, ContainerUtil.exists(availableActions, action -> action.getText().contains("Change access modifier"))); }