void () { myFixture.configureByText("Test.java", """ public class Test { void test(int <caret>a, String b) { } } """); IntentionAction action = myFixture.findSingleIntention("Generate overloaded method with default parameter values"); assertPreviewText(action, """ public class Test { void test(String b) { test(0, b); } void test(int a, String b) { } } """); }