@Override
    public boolean registry(ServiceInstance serviceInstance) {
        return zkServiceManager.chooseService().registry(serviceInstance);
    }
@Test
    public void registry() {
        final DefaultServiceInstance instance = new DefaultServiceInstance("localhost", "127.0.0.1", 8080,
                Collections.emptyMap(), "zk");
        Mockito.when(zkService34.registry(instance)).thenReturn(true);
        final boolean registry = zkDiscoveryClient.registry(instance);
        Assert.assertTrue(registry);
    }