public void SumOfInt_SelectorIsNull_ArgumentNullExceptionThrown()
{
IQueryable<int> sourceInt = Enumerable.Empty<int>().AsQueryable();
Expression<Func<int, int>> selector = null;
Assert.Throws<ArgumentNullException>("selector", () => sourceInt.Sum(selector));
}