### Question:
RpcAdminData { public void setAdditionalRpcServiceIds(Set<String> ids) { if(ids == null) { ids = Sets.newHashSet(); } this.additionalRpcServiceIds = ids; } 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 testSetAdditionalRpcServiceIds() { assertEquals(populatedIds, populated.getAdditionalRpcServiceIds()); Set<String> emptySet = Sets.newHashSet(); populated.setAdditionalRpcServiceIds(emptySet); assertEquals(Sets.newHashSet(), populated.getAdditionalRpcServiceIds()); assertEquals(Sets.newHashSet(), empty.getAdditionalRpcServiceIds()); empty.setAdditionalRpcServiceIds(populatedIds); assertEquals(populatedIds, empty.getAdditionalRpcServiceIds()); assertEquals(Sets.newHashSet(), nullData.getAdditionalRpcServiceIds()); nullData.setAdditionalRpcServiceIds(populatedIds); assertEquals(populatedIds, nullData.getAdditionalRpcServiceIds()); }