/**
* Tests on sequence of datetimes. Earliest datetime should be returned.
*/
public void testSequenceOfDatetimes() throws ExpressionException {
final Function function = new MinFunction();
Value result = function.invoke(expressionContextMock, new Value[]{
factory.createSequence(new Item[]{
factory.createDateTimeValue("2008-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("2009-01-02T02:56:16+00:00")