/**
* Tests on sequence of datetimes. Latest datetime should be returned.
*/
public void testSequenceOfDatetimes() throws ExpressionException {
final Function function = new MaxFunction();
Value result = function.invoke(expressionContextMock, new Value[]{
factory.createSequence(new Item[]{
factory.createDateTimeValue("2004-03-11T07:56:16+00:00"),
factory.createDateTimeValue("2006-04-16T12:30:16+00:00"),
factory.createDateTimeValue("2006-04-16T06:56:16+00:00"),
factory.createDateTimeValue("2005-01-02T02:56:16+00:00")