public Collection<InstancePublishInfo> getAllInstancePublishInfo() {
        return publishers.values();
    }
@Test
    void testGetAllInstancePublishInfo() {
        ipPortBasedClient.addServiceInstance(service, instancePublishInfo);
        Collection<InstancePublishInfo> allInstancePublishInfo = ipPortBasedClient.getAllInstancePublishInfo();
        assertEquals(1, allInstancePublishInfo.size());
        assertEquals(allInstancePublishInfo.iterator().next(), instancePublishInfo);
    }