return Arrays.asList(new Object[][] {
{MediaType.APPLICATION_JSON,
baseZnode, "foo bar", "utf8",
ClientResponse.Status.CREATED,
new ZPath(baseZnode + "/foo bar"), null,
false },
{MediaType.APPLICATION_JSON, baseZnode, "c-t1", "utf8",
ClientResponse.Status.CREATED, new ZPath(baseZnode + "/c-t1"),
null, false },
{MediaType.APPLICATION_JSON, baseZnode, "c-t1", "utf8",
ClientResponse.Status.CONFLICT, null, null, false },
{MediaType.APPLICATION_JSON, baseZnode, "c-t2", "utf8",
ClientResponse.Status.CREATED, new ZPath(baseZnode + "/c-t2"),
"".getBytes(), false },
{MediaType.APPLICATION_JSON, baseZnode, "c-t2", "utf8",
ClientResponse.Status.CONFLICT, null, null, false },
{MediaType.APPLICATION_JSON, baseZnode, "c-t3", "utf8",
ClientResponse.Status.CREATED, new ZPath(baseZnode + "/c-t3"),
"foo".getBytes(), false },
{MediaType.APPLICATION_JSON, baseZnode, "c-t3", "utf8",
ClientResponse.Status.CONFLICT, null, null, false },
{MediaType.APPLICATION_JSON, baseZnode, "c-t4", "base64",
ClientResponse.Status.CREATED, new ZPath(baseZnode + "/c-t4"),
"foo".getBytes(), false },
{MediaType.APPLICATION_JSON, baseZnode, "c-", "utf8",
ClientResponse.Status.CREATED, new ZPath(baseZnode + "/c-"), null,
true },
{MediaType.APPLICATION_JSON, baseZnode, "c-", "utf8",
ClientResponse.Status.CREATED, new ZPath(baseZnode + "/c-"), null,
true }
});
}