public void testXml() {
   assertEquals(expectedXmlFragment, result.writeXmlFragment());
 }