public void testEntrySerializationScenarioOne() throws Exception {
String inputXml = "<localEntry xmlns=\"http://ws.apache.org/ns/synapse\" key=\"key\" " +
"><description>description</description><foo/></localEntry>";
OMElement inputOM = createOMElement(inputXml);
Entry entry = EntryFactory.createEntry(inputOM.cloneOMElement(), new Properties());
OMElement resultOM = EntrySerializer.serializeEntry(entry, null);
assertTrue(compare(resultOM, inputOM));
}
public void testEntrySerializationScenarioTwo() throws Exception {