// Generate XML serialization of Connector Manager;
String managerXml = asXmlString(new ExportManager());
// Now parse that XML and see if it reflects some tiny bit of reality.
Document document =
XmlParseUtil.parse(managerXml, new SAXParseErrorHandler(), null);
Element managerElement = document.getDocumentElement();
// Extract the manager configuration properties.
Properties props = readProperties(managerElement);
ConnectorTestUtils.compareMaps(originalProps, props);