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)); }
protected SqlFeatureToggle() { ToggleValueProvider = new BooleanSqlServerProvider(); }