void () { myFixture.configureByText("Outer.java", "public class Outer { protected class In<caret>ner {} }"); IntentionAction action = myFixture.findSingleIntention("Move class"); myFixture.checkIntentionPreviewHtml(action, "Move inner class 'Inner' to the top level of a package of your choice."); }