void () { myFixture.addFileToProject("/foo/bar.xml", ""); myFixture.addFileToProject("/foo/boo.xml", ""); myFixture.configureByText("a.java", """ class A { String s1 = "foo/bar.xml"; String s2 = "/foo/b<caret>"; }"""); assertNotNull(myFixture.completeBasic()); assertOrderedEquals(myFixture.getLookupElementStrings(), "bar.xml", "boo.xml"); }