public void ShouldReadBooleanTrueFromSqlServer()
        {
            var sut = new BooleanSqlServerProvider();

            var toggle = new MySqlServerToggleTrue();

            Assert.IsTrue(sut.EvaluateBooleanToggleValue(toggle));
        }
        public void ReadBooleanFalseFromSqlServer()
        {
            var sut = new BooleanSqlServerProvider();

            var toggle = new MySqlServerToggleFalse();

            Assert.False(sut.EvaluateBooleanToggleValue(toggle));
        }
        public void ShouldReadBooleanTrueFromSqlServer()
        {
            var sut = new BooleanSqlServerProvider();

            var toggle = new MySqlServerToggleTrue();

            Assert.IsTrue(sut.EvaluateBooleanToggleValue(toggle));
        }
Exemple #4
0
 protected SqlFeatureToggle()
 {
     ToggleValueProvider = new BooleanSqlServerProvider();
 }
 protected SqlFeatureToggle()
 {
     ToggleValueProvider = new BooleanSqlServerProvider();
 }