void () { String[] names = XmlTagUtil.getCharacterEntityNames(); for (String name : names) { XmlTag tag = createTag("foo&" + name + ";bar"); assertEquals("foo" + XmlTagUtil.getCharacterByEntityName(name) + "bar", tag.getValue().getTrimmedText()); } }