TranslationTable table = new TranslationTable(table1);
table.addTranslation("key1", "value1");
table.addTranslation("key2", "value2");
table.addTranslation("key3", "value3");
Translator translator = table.translator();
assertEquals("value1", translator.toRDFValue("key1"));
assertEquals("value2", translator.toRDFValue("key2"));
assertEquals("key1", translator.toDBValue("value1"));
assertEquals("key2", translator.toDBValue("value2"));
}