void () { myFixture.addFileToProject("fake_file.txt", ""); myFixture.configureByFile("src3/TestWrongCase.java"); LookupElement[] myItems = complete(); assertEquals(1, myItems.length); assertEquals("fake_file.txt", myItems[0].getLookupString()); final LookupElement element = myItems[0]; assertInstanceOf(element.getObject(), PsiElement.class); myFixture.type('\t'); checkResultByFile("src3_after/TestWrongCase.java"); }