public void Yahoo_GeoPlanet_Places_ShouldImplementIEnumerableOfPlaces() { var it = new Places { Items = new ReadOnlyCollection<Place>(new List<Place>()), }; it.ShouldNotBeNull(); it.ShouldImplement<IEnumerable<Place>>(); it.GetEnumerator().ShouldNotBeNull(); ((IEnumerable) it).GetEnumerator().ShouldNotBeNull(); }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return(Places.GetEnumerator()); }