public void DataControlFieldCollection_GetEnumerator() { DataControlFieldCollection collection = new DataControlFieldCollection(); collection.Add(new BoundField()); IEnumerator numerator = collection.GetEnumerator(); Assert.IsNotNull(numerator, "GetEnumerator"); if (!(numerator is IEnumerator)) { Assert.Fail("IEnumerator not been created"); } }