use of com.enonic.xp.node.FindNodePathsByQueryResult in project xp by enonic.
the class FindNodePathByQueryTest method queryAndExpect.
private void queryAndExpect(final String queryString, final NodePaths expected) {
final NodeQuery query = NodeQuery.create().query(QueryParser.parse(queryString)).build();
final FindNodePathsByQueryResult result = this.nodeService.findNodePathsByQuery(query);
assertEquals(expected, result.getPaths());
}
Aggregations