public void DoesNotIterateWhenEmpty() { IEnumerableWithCount<int> source = new ThrowingEnumerable(0); Assert.AreEqual(0, source.FirstOrDefault()); }