### Question:
GenericDbSchema extends HashMap<String, ArrayList<String>> { public void load() throws IOException { CSVReader reader = new CSVReader(new FileReader(filename), '\t'); List<String[]> records = reader.readAll(); for (String[] record: records) { String fileType = record[0]; ArrayList<String> fields = new ArrayList<String>(Arrays.asList(record)); fields.remove(0); put(fileType, fields); } } GenericDbSchema(String filename); void load(); Record record(String fileType); Parser parser(String fileType, File file, String encoding, char sep);  }### Answer:
@Test public void testLoad() throws Exception { String schemaFilename = getClass().getResource("/SCHEMA.txt").getFile(); GenericDbSchema schema = new GenericDbSchema(schemaFilename); schema.load(); assertEquals(16, schema.size()); assertEquals(2, schema.get("TAGS").size()); assertEquals("ID", schema.get("TAGS").get(0)); }