void () { myFixture.configureByText("Test.java", "public class Test {} class <caret>Test {}"); IntentionAction action = myFixture.findSingleIntention("Navigate to duplicate class"); myFixture.checkIntentionPreviewHtml(action, "<p>&rarr; <icon src=\"icon\"/>&nbsp;Test.java, line #1</p>"); }