public void RemoveAll_Collection_NotFound() { var collection = new Dictionary<int, int> { { 1, 1 }, { 3, 3 }, { 5, 3 } }; Assert.IsFalse (collection.RemoveAll (kvp => kvp.Value == 2)); Assert.AreEqual (3, collection.Count); }