@Test
public void testLoadMap() throws Exception {

    // These are just to allow initialization that's why i'm not connecting them
    OutputStream os = new PipedOutputStream();
    InputStream is = new PipedInputStream();
    PB840Parameters pb840 = new PB840Parameters(is,os);
    Map<String, PB840Parameters.Field[]> fields = new HashMap<String, PB840Parameters.Field[]>();
    pb840.loadFields(fields);
    for(String key : fields.keySet()) {
        System.out.println(key);
        for(PB840Parameters.Field f : fields.get(key)) {
            System.out.println("\t"+f);
        }
    }
}