BasicTag implements Tag { public String getKey() { return key; } BasicTag(String key, String value); String getKey(); String getValue(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static BasicTag parseTag(String tagString); @Override String tagString();  }
@Test public void testGetKey() throws Exception { assertEquals(testTag.getKey(), TEST_KEY); }