void () { CodeInsightSettings.getInstance().setCompletionCaseSensitive(CodeInsightSettings.NONE); myFixture.configureByText("a.java", "import java.io.*; class Foo {{ int fileSize; fil<caret>x }}"); myFixture.completeBasic(); assertEquals("fileSize", getLookup().getCurrentItem().getLookupString()); myFixture.type('e'); assertEquals("File", getLookup().getItems().get(0).getLookupString()); assertEquals("fileSize", getLookup().getItems().get(1).getLookupString()); assertSame(getLookup().getCurrentItem(), getLookup().getItems().get(1)); }