public void FeatureFlagPct()
        {
            var client      = new TestPrefabCloudClient();
            var featureFlag = client.FeatureFlag(featureName);

            client.ConfigValue(featureName, new Prefab.ConfigValue {
                FeatureFlag = new Prefab.FeatureFlag {
                    Pct = 0.5
                }
            });

            Assert.IsFalse(featureFlag.IsOn(lookupKeyHashHi));
            Assert.IsTrue(featureFlag.IsOn(lookupKeyHashLo));
        }
        public void FeatureFlagWhitelist()
        {
            var client      = new TestPrefabCloudClient();
            var featureFlag = client.FeatureFlag(featureName);

            client.ConfigValue(featureName, new Prefab.ConfigValue {
                FeatureFlag = new Prefab.FeatureFlag {
                    Pct = 0
                }
            });

            featureFlag.Value.Whitelisted.AddRange(new string[] { "beta", "user:1", "user:3" });

            Assert.IsFalse(featureFlag.IsOn(lookupKeyAny));
            Assert.IsTrue(featureFlag.IsOn(lookupKeyAny, new string[] { "beta" }));
            Assert.IsTrue(featureFlag.IsOn(lookupKeyAny, new string[] { "alpha", "beta" }));
            Assert.IsTrue(featureFlag.IsOn(lookupKeyAny, new string[] { "alpha", "user:1" }));
            Assert.IsFalse(featureFlag.IsOn(lookupKeyAny, new string[] { "alpha", "user:2" }));
        }