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