DatabaseManager.getCollection("xmldb:exist://" + TestConstants.TEST_COLLECTION_URI.toString(), "admin", null);
if (testCollection == null)
return;
XPathQueryServiceImpl service = (XPathQueryServiceImpl)
testCollection.getService("XQueryService", "1.0");
ResourceSet result = service.query(QUERY1);
assertEquals(expected, result.getSize());
result = service.query(QUERY2);
assertEquals(expected, result.getSize());
} catch (Exception e) {