protected void checkLongArgResults(GetOpt getopt, Map<String,String> parsedArgsMap) {

		assertFalse(parsedArgsMap.size() == 0);
		int errs = 0;
		Iterator<Map.Entry<String,String>> it = 
			parsedArgsMap.entrySet().iterator();
		while (it.hasNext()) {
			Map.Entry e = it.next();
			String key = (String)e.getKey();
			String val = (String)e.getValue();
			char c = key.charAt(0);
			log.info("checkLongArgResults() - c == " + c);
			switch(c) {
				case '?':
					errs++;
					break;
				case 'o': 
					assertEquals(val, "outfile");
					break;
				case 'f':
				case 'h':
				case '1':
					 assertEquals(val, null);
					break;
				default:
					throw new IllegalArgumentException("Unexpected c value " + c);
			}
		}
		assertEquals("Parse errors", 0, errs);
		assertEquals("File names left after options", 1, getopt.getFilenameList().size());
		assertEquals("File name from list", "infile", getopt.getFilenameList().get(0));
	}