public void DispatchBool_ReturnsCorrect_Greater(bool expected)
        {
            var            node       = GetGreaterExp();
            IBooleanHelper boolHelper = GetBooleanHelper();

            boolHelper.GreaterBoolean(Arg.Any <GreaterExpression>(), Arg.Any <List <object> >())
            .Returns(expected);

            DispatchBool_ReturnsCorrect(node, boolHelper, expected);
        }
        public void DispatchBool_Greater_PassParametersDown(object o)
        {
            var parameters = GetParameterList();
            var node       = GetGreaterExp();

            IBooleanHelper boolHelper = GetBooleanHelper();
            List <object>  res        = null;

            boolHelper.GreaterBoolean(Arg.Any <GreaterExpression>(), Arg.Do <List <object> >(x => res = x))
            .Returns(true);

            var interpreter = Utilities.GetIntepreterOnlyWith(boolHelper);

            interpreter.DispatchBoolean(node, parameters.ToList());

            res.Should().BeEquivalentTo(parameters);
        }