return "org/mule/module/xml/xml-prettyprinter-config.xml";
}
public void testPrettyPrinter()
{
XmlPrettyPrinter pp = (XmlPrettyPrinter) muleContext.getRegistry().lookupTransformer("MyXMLPrettyPrinter");
assertNotNull(pp);
assertEquals("ISO-8859-15", pp.getEncoding());
assertEquals(true, pp.isExpandEmptyElements());
assertEquals(true, pp.getIndentEnabled());
assertEquals(" ", pp.getIndentString());
assertEquals("\\n\\n", pp.getLineSeparator());
assertEquals(1, pp.getNewLineAfterNTags());
assertFalse(pp.isNewlines());
assertFalse(pp.isNewLineAfterDeclaration());
assertFalse(pp.isOmitEncoding());
assertFalse(pp.isPadText());
assertFalse(pp.isTrimText());
assertFalse(pp.isSuppressDeclaration());
assertTrue(pp.isXHTML());
}