void () { myFixture.configureByText("Test.java", "public class <caret>Best {}"); IntentionAction action = myFixture.findSingleIntention("Rename File"); myFixture.checkIntentionPreviewHtml(action, "<p><icon src=\"file\"/>&nbsp;Test.java &rarr; <icon src=\"file\"/>&nbsp;Best.java</p>"); }