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