void () { myFixture.configureByText("TestCompletion.java", """ public class TestCompletion { public static void main(String[] args) { MyInterface foo = null; foo.<caret> } interface MyInterface{ static void staticMethod() {} void instanceMethod(); } }"""); myFixture.completeBasic(); assertContainsItems("instanceMethod"); }