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