979899100101102103104
} @Test public void testNodeWithQuery() throws QueryNodeException { final QueryBuilder build = new QueryBuilder(); final NodeQuery node = build.newNode("aaa"); assertParser(node); }
104105106107108109110111112113
} @Test public void testNodeWithLevelAndRange() throws QueryNodeException { final QueryBuilder build = new QueryBuilder(); final NodeQuery node = build.newNode("aaa") .setLevel(1) .setRange(1, 2); assertParser(node); }