public void ShouldCreateOrderByDescendingExpression()
        {
            var factory    = new DbExpressionFactory();
            var expression = factory.OrderByDescending(factory.Column("SomeColumn"));

            Assert.IsNotNull(expression.Expression);
            Assert.IsTrue(expression.OrderByExpressionType == DbOrderByExpressionType.Descending);
            Assert.IsTrue(expression.ExpressionType == DbExpressionType.OrderBy);
        }
 public void ShouldCreateOrderByDescendingExpression()
 {
     var factory = new DbExpressionFactory();
     var expression = factory.OrderByDescending(factory.Column("SomeColumn"));
     Assert.IsNotNull(expression.Expression);
     Assert.IsTrue(expression.OrderByExpressionType == DbOrderByExpressionType.Descending);
     Assert.IsTrue(expression.ExpressionType == DbExpressionType.OrderBy);
 }