Value result = expression.evaluate(expressionContext);
// ensure that the correct value was returned
assertEquals("Unexpected value returned",
"value",
result.stringValue().asJavaString());
}
/**
* Test that the function returns the default argument when a [1] predicate
* is specified and no name value pair has been added to the request