CacheTagImpl implements CacheTag, Serializable { public String getName() { return key; } CacheTagImpl(String key);  CacheTagImpl(String key, String value); String getName(); String getValue(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); void setMatchAny(); boolean matchesAny();  }
@Test public void testGetName() { assertEquals(tagName, tag.getName()); }