void () { myFixture.configureByFile(getTestName(false) + ".java"); IntentionAction action = myFixture.findSingleIntention( IntentionPowerPackBundle.message("copy.concatenated.string.to.clipboard.intention.name")); myFixture.checkIntentionPreviewHtml(action, "Copy to clipboard the string &quot;&lt;html&gt;<br/> &lt;body&gt;<br/>?<br/> &lt;/body&gt;<br/>&lt;/html&gt;<br/>&quot;"); myFixture.launchAction(action); final Object result = CopyPasteManager.getInstance().getContents(DataFlavor.stringFlavor); assertEquals(""" <html> <body> ? </body> </html> """, result); }