@Test
public void testPassPure() {

    // Fill the three parts of a config document
    outgoing.put("passPureMapOut", true);
    // Create the UUT
    pHandler = new UDPPublishHandler(outgoing, fakeSocket, sourceName);
    // Create sample data
    Map<String,Object> testMap = new LinkedHashMap<>();
    testMap.put("str", "msg");
    // Create expected data
    String expectedAddress = "127.0.0.1";
    int expectedPort = port;
    Map<String,Object> expectedData = new LinkedHashMap<>();
    expectedData.put("str", "msg");
    // Test UUT
    createMessage(testMap);
    pHandler.handleMessage(extMsg);
    assert fakeSocket.compareData(expectedData);
    assert fakeSocket.compareAddress(expectedAddress);
    assert fakeSocket.comparePort(expectedPort);
}