void () { myFixture.enableInspections(new XmlDefaultAttributeValueInspection()); myFixture.configureByText(XmlFileType.INSTANCE, "<schema xmlns=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=<warning descr=\"Redundant default attribute value assignment\">\"unqua<caret>lified\"</warning>>\n" + "</schema>"); myFixture.checkHighlighting(); IntentionAction action = myFixture.findSingleIntention(XmlAnalysisBundle.message("xml.quickfix.remove.attribute.family") + " e"); myFixture.launchAction(action); myFixture.checkResult("<schema xmlns=\"http://www.w3.org/2001/XMLSchema\">\n" + "</schema>"); }