public void ShouldCreateDayOfMonthExpression() { var factory = new DbExpressionFactory(); DbDateTimeFunctionExpression dateTimeFunctionExpression; dateTimeFunctionExpression = factory.DayOfMonth(factory.Column("SomeDateTimeColumn")); ValidateDateTimeFunctionExpression(dateTimeFunctionExpression, DbDateTimeFunctionExpressionType.DayOfMonth); }