final Collection test = DatabaseManager.getCollection(baseUri + "/db/securityTest1", "test2", "test2");
final Resource resource = test.getResource("test.xml");
final UserManagementService ums = (UserManagementService)test.getService("UserManagementService", "1.0");
// attempt to take gid ownership of /db/securityTest1/test.xml
ums.chgrp(resource, "guest");
}
@Test
public void onlyExecuteRequiredToOpenCollectionContent() throws XMLDBException {
final Collection test = DatabaseManager.getCollection(baseUri + "/db/securityTest1", "test1", "test1");