    @Test
    public void testCreateZookeeperClient() throws Exception {

        MockitoAnnotations.initMocks(this);
        testingServer = new TestingServer();
        when(config.getList(eq(REGISTRY_ZOOKEEPER_SERVERS)))
            .thenReturn(Arrays.asList(testingServer.getConnectString()));
        RegistryClient registryClient = RegistryClients.createZookeeperClient(config);
        assertNotNull(registryClient);
        assertEquals(registryClient.getEntries().size(), 0);
    }