void () { myFixture.setCaresAboutInjection(false); myFixture.configureByText("Test.java", """ class Test { // language=HTML String s = "<a><caret></a><b></b>"); }"""); IntentionAction action = myFixture.findSingleIntention(XmlAnalysisBundle.message("xml.quickfix.remove.tag.family")); assertEquals("<b></b>", myFixture.getIntentionPreviewText(action)); }