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