public void OnItemsChanged_Reset() { ItemsControlPoker c = new ItemsControlPoker(); c.Items.Add(new object()); c.OnItemsChanged_(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); Assert.AreEqual(1, c.Items.Count, "#1"); }
public void OnItemsChanged_Null() { ItemsControlPoker ic = new ItemsControlPoker(); ic.OnItemsChanged_(null); }