System.Linq.Tests.ZipTests.SecondIsNull C# (CSharp) Method

SecondIsNull() private method

private SecondIsNull ( ) : void
return void
        public void SecondIsNull()
        {
            int[] first = new int[] { 1, 2, 3 };
            IQueryable<int> second = null;
            Assert.Throws<ArgumentNullException>("source2", () => first.AsQueryable().Zip(second, (x, y) => x + y));
        }