public void When_Coerce_Default() { var SUT = new BinderLocalCache_Data_IsEnabled(); Assert.AreEqual(true, SUT.IsEnabled); SUT.SetValue(BinderLocalCache_Data_IsEnabled.IsEnabledProperty, false); Assert.AreEqual(false, SUT.IsEnabled); }
public void When_Coerce_And_Coerce_False() { var SUT = new BinderLocalCache_Data_IsEnabled(); Assert.AreEqual(true, SUT.IsEnabled); SUT.SuppressIsEnabled(true); Assert.AreEqual(false, SUT.IsEnabled); SUT.SuppressIsEnabled(false); Assert.AreEqual(true, SUT.IsEnabled); }