boolean (String text) { myFixture.enableInspections(LombokInspection.class); final Editor editor = getEditor(); final PsiFile file = getFile(); CodeInsightTestFixtureImpl.instantiateAndRun(file, editor, new int[0], false); final List<IntentionAction> availableActions = CodeInsightTestFixtureImpl.getAvailableIntentions(editor, file); return ContainerUtil.exists(availableActions, action -> action.getText().contains(text)); }