public void DoesNotIterateWhenEmpty() { IEnumerableWithCount<int> source = new ThrowingEnumerable(0); Assert.Throws<InvalidOperationException>(() => source.First()); }