### Question:
BasicTag implements Tag { @Override public int hashCode() { return hc; } BasicTag(String key, String value); @Override String key(); @Override String value(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testHashCode() { BasicTag tag = new BasicTag("k1", "v1"); Assertions.assertEquals(tag.hashCode(), new BasicTag(tag.key(), tag.value()).hashCode()); }