public void testParseTranslationTable() {
Resource r = addTranslationTableResource();
addTranslationResource(r, "foo", "bar");
Mapping mapping = new MapParser(this.model, null).parse();
TranslationTable table = mapping.translationTable(r);
assertEquals(1, table.size());
Translator translator = table.translator();
assertEquals("bar", translator.toRDFValue("foo"));
}