public void FillBackwardWithFillSelectorButNullSequence() { Assert.ThrowsArgumentNullException("source", () => MoreEnumerable.FillBackward <object>(null, _ => false, delegate { return(null); })); }
public void FillBackwardWithNullSequence() { var e = Assert.Throws <ArgumentNullException>(() => MoreEnumerable.FillBackward <object>(null)); Assert.That(e.ParamName, Is.EqualTo("source")); }