public void should_apply_feature_toggle(string flag, string expect) { AppContext.SetSwitch(flag, true); IFeature feature = FeatureFactory.Create(); Assert.Equal(expect, feature.DoSomethingInteresting()); }
public void should_get_the_normal_one() { IFeature feature = FeatureFactory.Create(); Assert.Equal("Oh, finally the normal one.", feature.DoSomethingInteresting()); }