public int zooKeeperEnsembleCount() { return connectionSpec.ensembleSize(); }
@Test
    public void require_that_server_count_is_correct() {
        CuratorConfig.Builder builder = new CuratorConfig.Builder();
        builder.server(createZKBuilder(localhost, port1));
        try (Curator curator = createCurator(new CuratorConfig(builder))) {
            assertEquals(1, curator.zooKeeperEnsembleCount());
        }
    }