public void AcceptChangesShouldCommitChangesToAllItems() { // arrange var items = new[] { new MockEditableObject(), new MockEditableObject() }; items[0].FirstName = "test1"; items[1].FirstName = "test2"; items.AcceptChanges(); // act var unchanged = items.All( i => !i.IsChanged ); Assert.True( unchanged ); }