public void ShouldCreateDayOfWeekExpression()
        {
            var factory = new DbExpressionFactory();
            DbDateTimeFunctionExpression dateTimeFunctionExpression;

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