### Question:
RpcAdminData { @Override public int hashCode() { return Objects.hashCode(this.additionalRpcServiceIds); } RpcAdminData();  RpcAdminData(Set<String> additionalRpcServiceIds); Set<String> getAdditionalRpcServiceIds(); void setAdditionalRpcServiceIds(Set<String> ids); void addAdditionalRpcServiceId(String id); void removeAdditionalRpcServiceId(String id); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertEquals(Objects.hashCode(populatedIds), populated.hashCode()); assertEquals(Objects.hashCode(Sets.newHashSet()), empty.hashCode()); assertEquals(Objects.hashCode(Sets.newHashSet()), nullData.hashCode()); assertEquals(empty.hashCode(), nullData.hashCode()); assertFalse(populated.hashCode() == empty.hashCode()); }