@Test
public void testXML() {

    incoming.put("expectXmlIn", true);
    incoming.put("passXmlRootNameIn", "root");
    incoming.put("passPureMapIn", true);
    
    nHandler = new UDPNotificationHandler(incoming, fakeClient);
    
    String address = "localhost";
    int port = 1234;
    String testStr = "<rootElem><front>frontVal</front><back>backVal</back></rootElem>";
    
    Map<String,Object> expectedData = new LinkedHashMap<>();
    expectedData.put("front", "frontVal");
    expectedData.put("back", "backVal");
    expectedData.put("root", "rootElem");
    
    createPacket(testStr, address, port);
    nHandler.handleMessage(pack);
    
    assert fakeClient.compareData(expectedData);
}