* Test escaping
* @throws Exception
*/
public void testEscapeXml() throws Exception
{
EscapeReference esc = new EscapeXmlReference();
assertEquals("test string&another<b>bold</b>test",esc.referenceInsert("","test string&another<b>bold</b>test"));
assertEquals("<">",esc.referenceInsert("","<\">"));
assertEquals("'",esc.referenceInsert("","'"));
assertEquals("test string",esc.referenceInsert("","test string"));
log("Correctly escaped XML");
}