String csv = "key,value";
Collection<Translation> translations = new TranslationTableParser(
new StringReader(csv)).parseTranslations();
assertEquals(1, translations.size());
Translation t = (Translation) translations.iterator().next();
assertEquals("key", t.dbValue());
assertEquals("value", t.rdfValue());
}
public void testTwoRows() {
String csv = "db1,rdf1\ndb2,rdf2";