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