void () { myFixture.configureByText("Outer.java", "public class Outer { static class N<caret>ested {} }"); IntentionAction action = myFixture.findSingleIntention("Move class"); myFixture.checkIntentionPreviewHtml(action, "Move inner class 'Nested' to the top level of a package of your choice or to an another class."); }