@Test
public void testPassBytesOutFrom() {

    outgoing.put("passBytesOutFrom", "byteLoc");
    
    pHandler = new UDPPublishHandler(outgoing, fakeSocket, sourceName);
    
    Map<String,Object> testMap = new LinkedHashMap<>();
    testMap.put("byteLoc", "msg");
    testMap.put("not","relevant");
    
    byte[] expectedData = "msg".getBytes();
    
    // Test UUT
    createMessage(testMap);
    pHandler.handleMessage(extMsg);
    
    assert fakeSocket.compareData(expectedData);
}