Esempio n. 1
0
        public void WhenIHaveAnEnabledKnownFeatureSwitch_ThenTheValueIsRetrievedAsTrue()
        {
            var resolver = new DefaultFeatureResolver();
            var enabled  = resolver.Resolve("EnabledProperty", null);

            Assert.That(enabled, Is.True);
        }
Esempio n. 2
0
        public void WhenIHaveAnUnknownFeatureSwitch_ThenTheValueIsRetrievedAsFalse()
        {
            var resolver = new DefaultFeatureResolver();
            var enabled  = resolver.Resolve("NullProperty", null);

            Assert.That(enabled, Is.False);
        }