GroupUrlTitleInfoItemIdentifier extends BaseInfoItemIdentifier { @Override public String toString() { StringBundler sb = new StringBundler(7); sb.append("{className="); sb.append(GroupKeyInfoItemIdentifier.class.getName()); sb.append(", _groupId="); sb.append(_groupId); sb.append(", _urlTitle="); sb.append(_urlTitle); sb.append("}"); return sb.toString(); } GroupUrlTitleInfoItemIdentifier(long groupId, String urlTitle); @Override boolean equals(Object object); long getGroupId(); String getUrlTitle(); @Override int hashCode(); @Override String toString();  }
@Test public void testToString() { GroupUrlTitleInfoItemIdentifier groupUrlTitleInfoItemIdentifier = new GroupUrlTitleInfoItemIdentifier(12345L, "urlTitle"); Assert.assertEquals( "{className=com.liferay.info.item.GroupKeyInfoItemIdentifier, " + "_groupId=12345, _urlTitle=urlTitle}", groupUrlTitleInfoItemIdentifier.toString()); }