void () { myFixture.copyFileToProject("src1/i/i2/717_image.png", "i/i2/717_image.png"); myFixture.configureByFile("src1/Test.java"); LookupElement[] myItems = complete(); assertEquals(1, myItems.length); assertEquals("717_image.png (16x16)", myItems[0].toString()); final LookupElement element = myItems[0]; assertInstanceOf(element.getObject(), PsiElement.class); myFixture.type('\t'); checkResultByFile("src1_after/Test.java"); }