assertEquals(expectedChildren, zchildren.children);
assertEquals(znodesr.path(path).toString(), zchildren.uri);
assertEquals(znodesr.path(path).toString() + "/{child}",
zchildren.child_uri_template);
} else if (accept.equals(MediaType.APPLICATION_XML)) {
ZChildren zchildren = cr.getEntity(ZChildren.class);
Collections.sort(expectedChildren);
Collections.sort(zchildren.children);
assertEquals(expectedChildren, zchildren.children);
assertEquals(znodesr.path(path).toString(), zchildren.uri);
assertEquals(znodesr.path(path).toString() + "/{child}",