void () { myFixture.configureByText("foo.xml", "<schema xmlns=\"<caret>\"/>"); LookupElement[] elements = myFixture.completeBasic(); assertEquals("http://www.w3.org/2001/XMLSchema", elements[0].getLookupString()); myFixture.configureByText("unknown.xml", "<unknown_tag_name xmlns=\"<caret>\"/>"); myFixture.completeBasic(); assertTrue(myFixture.getLookupElementStrings().size() > 3); // all standard schemas actually }