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