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