void () { myFixture.addClass("package imported; public class Foo$WithDollarImported {}"); configureByTestName(); myFixture.completeBasic(); assertTrue(myFixture.getLookupElementStrings().contains("Foo$WithDollarImported")); }