void () { myFixture.configureByFile("com/example/Simple.java"); IntentionAction action = myFixture.findSingleIntention(JavaAnalysisBundle.message("move.annotations.to.package.info.file.family.name")); String text = myFixture.getIntentionPreviewText(action); assertEquals(""" package com.example; ---------- @Deprecated package com.example;""", text); }