public void ShouldCreateLengthExpression() { var factory = new DbExpressionFactory(); var stringFunctionExpression = factory.Length(factory.Column("SomeStringColumn")); ValidateStringFunctionExpression(stringFunctionExpression, DbStringFunctionExpressionType.Length); }