public void TestUpdate() { // View should not post events if data didn't change _myView.Update(MakeBeans("f", 1), null); CheckOldData(0); CheckNewData(1); _childView.LastNewData = null; _childView.LastOldData = null; _myView.Update(MakeBeans("f", 1), MakeBeans("f", 1)); Assert.IsNull(_childView.LastNewData); Assert.IsNull(_childView.LastOldData); }