public void ReadBooleanTrue() { var result = false; var sut = new ApplicationResourcesSettingsProvider(); RunOn.Dispatcher(() => { result = sut.EvaluateBooleanToggleValue(new BooleanTrue()); }); Assert.IsTrue(result); }
public void ReadBooleanFalse() #endif { var result = true; var sut = new ApplicationResourcesSettingsProvider(); #if NETFX_CORE await #endif RunOn.Dispatcher(() => { ApplicationResourcesSetter.Set("FeatureToggle.BooleanFalse", false); result = sut.EvaluateBooleanToggleValue(new BooleanFalse()); }); AssertFacade.False(result); }