public void ShouldCreateAvgExpression() { var factory = new DbExpressionFactory(); var aggregateExpression = factory.Avg(factory.Column("SomeColumn")); ValidateAggregateExpression(aggregateExpression, DbAggregateFunctionExpressionType.Avg); }