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