void createNode(const string& path, const string& data = "") { client.createZNode(path, data); BOOST_CHECK(client.isZNodeExists(path)); string tmp; client.getZNodeData(path, tmp); BOOST_CHECK_EQUAL(data, tmp); }
void removeNode(const string& path) { client.deleteZNode(path, true); BOOST_CHECK(not client.isZNodeExists(path)); }