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