void () { var uClass = myFixture.addClass("package foo; public class U {}"); myFixture.configureByText("a.java", "class X {{ new U<caret>x }}"); myFixture.completeBasic(); assertSame(myFixture.getLookupElements()[0].getObject(), uClass); }