public void testEval() throws XQueryException {
SequenceExpression seq = new SequenceExpression();
AtomicValue it1 = new XString("1");
AtomicValue it2 = new XString("2");
seq.addExpression(new LiteralExpr(it1));
seq.addExpression(new LiteralExpr(it2));
Sequence<Item> res = (Sequence<Item>) seq.eval(null, new DynamicContext(new StaticContext()));
Iterator<Item> resItor = res.iterator();
assertTrue(resItor.hasNext());
assertSame(it1, resItor.next());
assertTrue(resItor.hasNext());