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