public void DataControlFieldCollection_RemoveAt() { DataControlFieldCollection collection = new DataControlFieldCollection(); collection.Add(new BoundField()); Assert.AreEqual(1, collection.Count, "CollectionCount"); collection.RemoveAt(0); Assert.AreEqual(0, collection.Count, "RemoveAtIndex"); }
public void DataControlFieldCollection_RemoveAtException() { DataControlFieldCollection collection = new DataControlFieldCollection(); collection.RemoveAt(0); }