@Test
public void testConfig() throws Exception {
String source = Files.forIO().readFrom(getClass().getResourceAsStream("config.xml"), "utf-8");
ClientConfig root = DefaultSaxParser.parse(source);
String xml = new DefaultXmlBuilder().buildXml(root);
String expected = source;
Assert.assertEquals("XML is not well parsed!", expected.replace("\r", ""), xml.replace("\r", ""));
}