public void PropertiesOverriden() { MySettings2 s = new MySettings2(); s.Initialize(s.Context, new SettingsPropertyCollection(), s.Providers); Assert.IsNull(s.Properties, "#1"); Assert.IsNotNull(s.BaseProperties, "#2"); Assert.AreEqual(0, s.PropertyValues.Count, "#3"); }
public void PropertiesOverriden () { MySettings2 s = new MySettings2 (); s.Initialize (s.Context, new SettingsPropertyCollection (), s.Providers); Assert.IsNull (s.Properties, "#1"); Assert.IsNotNull (s.BaseProperties, "#2"); Assert.AreEqual (0, s.PropertyValues.Count, "#3"); }