public void InsertShouldInsertItemAndRaiseEvents() { // arrange var collection = new ObservableCollection <int>(new[] { 1, 2, 3 }); var assert = new Asserter(); // act, assert (Count and Item[]) assert.InsertChangedCollection(collection, 4, 1, c => c.Count, c => c[0]); }
public void InsertShouldInsertItem() { // arrange var collection = new ObservableCollection <int>(new[] { 1, 2, 3 }); var assert = new Asserter(); // act, assert assert.InsertChangedCollection(collection, 4, 1); }