void () { myFixture.testHighlighting("spring.xml", "spring-beans-2.5.xsd", "spring-batch-2.1.xsd"); IntentionAction action = myFixture.getAvailableIntention(XmlAnalysisBundle.message("xml.quickfix.remove.unused.namespace.decl")); assertNotNull(action); myFixture.launchAction(action); myFixture.checkResultByFile("spring_after.xml"); }