* Tests duration value as an argument.
*/
public void testDurationArgument() throws Exception {
Value result = function.invoke(context, new Value[] { factory
.createDurationValue(true, 0, 0, 1, 1, 1, 10, 100) });
String resultString = result.stringValue().asJavaString();
assertEquals("Expected value: 90070 but was: " + resultString,
resultString, "90070");
}
/**