System.Linq.Tests.TakeTests.ThrowsOnNullSource C# (CSharp) Method

ThrowsOnNullSource() private method

private ThrowsOnNullSource ( ) : void
return void
        public void ThrowsOnNullSource()
        {
            IQueryable<int> source = null;
            Assert.Throws<ArgumentNullException>("source", () => source.Take(5));
        }