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

            serviceDiscoveryManager.TryDeleteEnvironmentAsync("default")
            .GetAwaiter()
            .GetResult()
            .Should()
            .BeTrue();

            serviceDiscoveryManager.GetEnvironmentAsync("default")
            .GetAwaiter()
            .GetResult()
            .Should()
            .BeNull();
        }
        public void TryDeleteEnvironmentAsync_should_return_true_and_delete_existent_environment_without_children()
        {
            CreateEnvironmentNode("default", "parent", GetProperties());
            var serviceDiscoveryManager = new ServiceDiscoveryManager(GetZooKeeperClient(), log: Log);

            serviceDiscoveryManager.TryDeleteEnvironmentAsync("default")
            .GetAwaiter()
            .GetResult()
            .Should()
            .BeTrue();

            serviceDiscoveryManager.GetEnvironmentAsync("default")
            .GetAwaiter()
            .GetResult()
            .Should()
            .BeNull();
        }