GroupKeyInfoItemIdentifier extends BaseInfoItemIdentifier { public String getKey() { return _key; } GroupKeyInfoItemIdentifier(long groupId, String key); @Override boolean equals(Object object); long getGroupId(); String getKey(); @Override int hashCode(); @Override String toString();  }
@Test public void testGetKey() { GroupKeyInfoItemIdentifier groupKeyInfoItemIdentifier = new GroupKeyInfoItemIdentifier(12345L, "key"); Assert.assertEquals("key", groupKeyInfoItemIdentifier.getKey()); }