public void Add_AddsNewItemToList() { PageVirtualizingList<int> list = new PageVirtualizingList<int>(); list.UpdateCount(22, 10); list.Add(123); Assert.AreEqual(23, list.Count); Assert.AreEqual(123, list[22]); }