String path = String.format("/%s/%s/%s", testName, "msg_0", "submsg_0");
ZNRecord record = new ZNRecord("submsg_0");
ZkBaseDataAccessor<ZNRecord> accessor = new ZkBaseDataAccessor<ZNRecord>(_gZkClient);
AccessResult result = accessor.doSet(path, record, -1, AccessOption.PERSISTENT);
Assert.assertEquals(result._retCode, RetCode.OK);
Assert.assertEquals(result._pathCreated.size(), 3);
Assert.assertTrue(result._pathCreated.contains(String.format("/%s", testName)));
Assert.assertTrue(result._pathCreated.contains(String.format("/%s/%s", testName, "msg_0")));
Assert.assertTrue(result._pathCreated.contains(path));