public void testAppendXmlTextValue() throws Exception {
   StringBuilder sb = new StringBuilder();
   XmlUtils.appendXmlTextValue(sb, "<\"'>&");
   assertEquals("&lt;\"'>&amp;", sb.toString());
 }