void () { myFixture.enableInspections(SillyAssignmentInspection.class); final String quickfixName = JavaBundle.message("assignment.to.itself.quickfix.name"); myFixture.configureByFile(getTestName(false) + ".java"); assertEmpty("Quickfix '" + quickfixName + "' is available unexpectedly", myFixture.filterAvailableIntentions(quickfixName)); }