public void ResetFiresClearsAndAdds() { var people = _generator.Take(10); _collection.AddRange(people); Assert.AreEqual(1, _results.Messages.Count, "Should be 1 updates"); _collection.Reset(); Assert.AreEqual(10, _results.Data.Count, "Should be 10 items in the cache"); Assert.AreEqual(2, _results.Messages.Count, "Should be 2 updates"); var update11 = _results.Messages[1]; Assert.AreEqual(10, update11.Removes, "Should be 10 removes"); Assert.AreEqual(10, update11.Adds, "Should be 10 adds"); Assert.AreEqual(10, _results.Data.Count, "Should be 10 items in the cache"); }