void () { myFixture.addClass("public class Fooooo {}"); var text = "package foo; class Bar { Fooo<caret> }"; var file = myFixture.addFileToProject("foo/Bar.java", text); myFixture.configureFromExistingVirtualFile(file.getVirtualFile()); assertEmpty(myFixture.completeBasic()); myFixture.checkResult(text); }