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