void () { myFixture.configureByFile("policy.xml"); List<HighlightInfo> infos = myFixture.doHighlighting(); assertSize(27, infos); String expectedUrn = "urn:oasis:names:tc:xacml:1.0:policy"; boolean hasUrn = false; for (HighlightInfo info : infos) { String text = info.getText(); assertOneOf(text, "x", expectedUrn); hasUrn |= expectedUrn.equals(text); } assertTrue(hasUrn); }