void () { myFixture.addClass("package foo; public class myClass {}"); myFixture.configureByText("a.java", """ class Foo extends my<caret> """); myFixture.complete(CompletionType.BASIC, 2); myFixture.checkResult(""" import foo.myClass; class Foo extends myClass """); }