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