* Tests on sequence of strings. Values should be compared using
* Unicode code point collation (http://www.w3.org/2005/xpath-functions/collation/codepoint).
*/
public void testSequenceOfStrings() throws ExpressionException {
final Function function = new MinFunction();
Value result = function.invoke(expressionContextMock, new Value[]{
factory.createSequence(new Item[]{
factory.createStringValue("qwe"),
factory.createStringValue("rty"),
factory.createStringValue("asd")
})});
assertTrue(result instanceof StringValue);
assertEquals("asd", result.stringValue().asJavaString());
}