### Question:
RpcAdminData { public void removeAdditionalRpcServiceId(String id) { this.additionalRpcServiceIds.remove(id); } 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 testRemoveAdditionalRpcServiceId() { assertEquals(populatedIds, populated.getAdditionalRpcServiceIds()); populated.removeAdditionalRpcServiceId("rpc1"); populated.removeAdditionalRpcServiceId(null); Set<String> newIds = Sets.newHashSet("rpc2"); assertEquals(newIds, populated.getAdditionalRpcServiceIds()); Set<String> emptyRpcIds = Sets.newHashSet(); assertEquals(emptyRpcIds, empty.getAdditionalRpcServiceIds()); empty.removeAdditionalRpcServiceId("rpc1"); empty.removeAdditionalRpcServiceId(""); assertEquals(emptyRpcIds, empty.getAdditionalRpcServiceIds()); emptyRpcIds = Sets.newHashSet(); assertEquals(emptyRpcIds, nullData.getAdditionalRpcServiceIds()); nullData.removeAdditionalRpcServiceId("rpc1"); nullData.removeAdditionalRpcServiceId(""); assertEquals(emptyRpcIds, nullData.getAdditionalRpcServiceIds()); }