public void GetAllEnvironmentsAsync_should_return_empty_array_if_no_environment_exists()
        {
            var serviceDiscoveryManager = new ServiceDiscoveryManager(GetZooKeeperClient(), log: Log);

            serviceDiscoveryManager.GetAllEnvironmentsAsync()
            .GetAwaiter()
            .GetResult()
            .Should()
            .BeEmpty();
        }
        public void GetAllEnvironmentsAsync_should_return_all_existent_environments()
        {
            CreateEnvironmentNode("env1");
            CreateEnvironmentNode("env2");
            CreateEnvironmentNode("env3");

            var serviceDiscoveryManager = new ServiceDiscoveryManager(GetZooKeeperClient(), log: Log);

            serviceDiscoveryManager.GetAllEnvironmentsAsync()
            .GetAwaiter()
            .GetResult()
            .Should()
            .BeEquivalentTo("env1", "env2", "env3");
        }