常用方法
常用方法
常用方法
常用方法
public void WhenSourceIsNull_ThenThrowException() { Assert.Throws <ArgumentNullException>(() => CollectionExtensions.IsIndexValid(null as ICollection <int>, 0)); }
public void WhenSourceIsNull_ThenThrowException() { Assert.Throws <ArgumentNullException>(() => CollectionExtensions.IsIndexValid(null as ICollection <int>, 0)); }