### Question:
TagTranslator implements AutoCloseable { public OSHDBTag getOSHDBTagOf(String key, String value) { return this.getOSHDBTagOf(new OSMTag(key, value)); } 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 testTag2Int() throws OSHDBKeytablesNotFoundException { OSMTag tag = new OSMTag("building", "yes"); TagTranslator instance = new TagTranslator(TagTranslatorTest.conn); OSHDBTag expResult = new OSHDBTag(1, 0); OSHDBTag result = instance.getOSHDBTagOf(tag); assertEquals(expResult, result); }