@Test
public void testXml() {

    outgoing.put("sendXmlRoot", "route");
    outgoing.put("passPureMapOut", true);
    
    pHandler = new UDPPublishHandler(outgoing, fakeSocket, sourceName);
    
    Map<String,Object> testMap = new LinkedHashMap<>();
    testMap.put("Hello", "World");
    testMap.put("Goodbye","Cruel World");
    
    String expectedData = "<route><Hello>World</Hello><Goodbye>Cruel World</Goodbye></route>";
    
    // Test UUT
    createMessage(testMap);
    pHandler.handleMessage(extMsg);
    
    assert fakeSocket.compareData(expectedData);
}