### Question:
RpcAdminData { @Override public boolean equals(Object obj) { if (obj instanceof RpcAdminData) { RpcAdminData test = (RpcAdminData) obj; return test.getAdditionalRpcServiceIds().equals(this.getAdditionalRpcServiceIds()); } return false; } 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 testEqualsObject() { assertTrue(new RpcAdminData(populatedIds).equals(populated)); assertTrue(new RpcAdminData().equals(empty)); assertTrue(new RpcAdminData().equals(nullData)); assertTrue(nullData.equals(empty)); assertFalse(populated.equals(empty)); }