@Test
public void testCSV() {

    incoming.put("expectCsvIn", true);
    
    nHandler = new UDPNotificationHandler(incoming, fakeClient);
    
    String address = "localhost";
    int port = 1234;
    String testStr = "first,second,last\na,b,c\nd,e,f";
    
    Map<String,Object> subMap1 = new LinkedHashMap<>();
    subMap1.put("first", "a");
    subMap1.put("second", "b");
    subMap1.put("last", "c");
    Map<String,Object> subMap2 = new LinkedHashMap<>();
    subMap2.put("first", "d");
    subMap2.put("second", "e");
    subMap2.put("last", "f");
    Map[] expectedData = {subMap1,subMap2}; 
    
    createPacket(testStr, address, port);
    nHandler.handleMessage(pack);
    
    assert fakeClient.compareData(Arrays.asList(expectedData));
}