public void TestRemoveBoFromCollection() { ListView listView = CreateListView(); ListViewCollectionManager controller = new ListViewCollectionManager(listView); BusinessObjectCollection <MyBO> col = GetColWith3Items(); controller.SetCollection(col); //---------------Assert Precondition---------------- Assert.AreEqual(3, listView.Items.Count); //---------------Execute Test ---------------------- col.RemoveAt(0); //---------------Test Result ----------------------- Assert.AreEqual(2, listView.Items.Count); }