public void NullSource() { IQueryable<int> source = null; Assert.Throws<ArgumentNullException>("source", () => source.OrderBy(i => i)); }