Exemplo n.º 1
0
        public void GetResolvedExpression()
        {
            var result = _expressionResolver.GetResolvedExpression(_unresolvedLambda.Body, _unresolvedLambda.Parameters[0], ClauseGenerationContext);

            var expectedResult = Expression.MakeBinary(ExpressionType.GreaterThan, SourceReference, Expression.Constant(5));

            ExpressionTreeComparer.CheckAreEqualTrees(expectedResult, result);
        }