void () { myFixture.configureByText("a.java", "class A { {String s = for<caret>mat(\"\",\"\");}}"); final IntentionAction intention = myFixture.findSingleIntention(QuickFixBundle.message("static.import.method.text")); assertNotNull(intention); myFixture.launchAction(intention); myFixture.checkResult(""" import static java.lang.String.format; class A { {String s = format("","");}}""", false); }