* Verify that when no value can be retrieved from the repository and the
* default value is valid, the function evaluates to the default value.
*/
public void testExecuteWithValidDefaultValue() {
DIScanFunction function = new DIScanFunction();
Value result = function.execute(exprContext, accessorMock,
VALID_DEFAULT);
// expect the result to be the default value
assertTrue(result instanceof StringValue);
assertEquals(VALID_DEFAULT.asJavaString(),
((StringValue)result).asJavaString());