public void AddNewAndCancel() { var cut = new SortedBindingList <Data>(); var raisedEvents = new List <ListChangedEventArgs>(); cut.ListChanged += (s, e) => raisedEvents.Add(e); const string NewName = "NewName"; var data = cut.AddNew(); data.Name = NewName; cut.CancelNew(0); Assert.AreEqual(0, cut.Count); }