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