WebResource wr = znodesr.path(path).queryParam("dataformat", "utf8")
.queryParam("name", name);
Builder builder = wr.accept(MediaType.APPLICATION_JSON);
ClientResponse cr;
cr = builder.post(ClientResponse.class, data);
assertEquals(ClientResponse.Status.CREATED, cr.getClientResponseStatus());
ZPath zpath = cr.getEntity(ZPath.class);
assertEquals(new ZPath(path + name), zpath);
assertEquals(znodesr.path(path).toString(), zpath.uri);