@Test
public void idsOnEmptyCollection() throws XMLDBException {
final Collection root = DatabaseManager.getCollection(uri, "admin", null);
final CollectionManagementService service = (CollectionManagementService) root.getService("CollectionManagementService", "1.0");
final Collection emptyCollection = service.createCollection("empty");
final XQueryService queryService = (XQueryService) emptyCollection.getService("XPathQueryService", "1.0");
queryAndAssert(queryService, "/*", 0, null);
queryAndAssert(queryService, "/id('foo')", 0, null);
}