Collection c1 = DBUtils.addCollection(getTestCollection(), "C1-C2");
assertNotNull(c1);
DBUtils.addXMLResource(c1, "R1.xml", ReplaceResourceAction.XML);
//String query0 = "//user[email = 'sam@email.com']";
//String query1 = "distinct-values(//user/@id)";
addAction(new ReplaceResourceAction(URI + "/C1/C1-C2", "R1.xml"), 100, 0, 100);
addAction(new ReplaceResourceAction(URI + "/C1/C1-C2", "R2.xml"), 100, 0, 100);
addAction(new RetrieveResourceAction(URI + "/C1/C1-C2", "R1.xml"), 150, 500, 100);
//addAction(new XQueryAction(URI + "/C1", "R1.xml", query0), 100, 1000, 100);
//addAction(new XQueryAction(URI + "/C1", "R1.xml", query1), 100, 1000, 100);
} catch (Exception e) {
fail(e.getMessage());