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