### Question:
TagTranslator implements AutoCloseable { public OSMTagKey getOSMTagKeyOf(int key) { return getOSMTagKeyOf(new OSHDBTagKey(key)); } TagTranslator(Connection conn); @Override void close(); OSHDBTagKey getOSHDBTagKeyOf(String key); OSHDBTagKey getOSHDBTagKeyOf(OSMTagKey key); OSMTagKey getOSMTagKeyOf(int key); OSMTagKey getOSMTagKeyOf(OSHDBTagKey key); OSHDBTag getOSHDBTagOf(String key, String value); OSHDBTag getOSHDBTagOf(OSMTag tag); OSMTag getOSMTagOf(int key, int value); OSMTag getOSMTagOf(OSHDBTag tag); OSHDBRole getOSHDBRoleOf(String role); OSHDBRole getOSHDBRoleOf(OSMRole role); OSMRole getOSMRoleOf(int role); OSMRole getOSMRoleOf(OSHDBRole role); Connection getConnection();  }### Answer:
@Test public void testKey2String() throws OSHDBKeytablesNotFoundException { OSHDBTagKey key = new OSHDBTagKey(1); TagTranslator instance = new TagTranslator(TagTranslatorTest.conn); OSMTagKey expResult = new OSMTagKey("building"); OSMTagKey result = instance.getOSMTagKeyOf(key); assertEquals(expResult, result); }