常用方法
常用方法
常用方法
常用方法
public void WhenSourceIsNull_ThenThrowException() { Assert.Throws <ArgumentNullException>(() => ListExtensions.GetNext(null as IList <string>, 0)); }
public void WhenSourceIsNull_ThenThrowException() { Assert.Throws <ArgumentNullException>(() => ListExtensions.GetNext(null as IList <string>, 0)); }