public void NewZNodeShouldExistsWithTheInsertedDataAfterCreation()
        {
            string path = "/TestCreate";

            DeletePreviousData(path);
            byte[] testRawData = TextConvertor.GetBytesFromTextAscii("Test Create");
            ZkActions.Create(path, testRawData, Ids.OPEN_ACL_UNSAFE, CreateMode.Ephemeral);
            Stat stat = ZkActions.Exists(path, false);

            byte[] returnedRawData = ZkActions.GetData(path, false, stat);
            Assert.AreEqual("Test Create", TextConvertor.GetSTextFromBytesAscii(returnedRawData));
        }
 private Stat CreateNodeWithdata(string path, string testData)
 {
     byte[] testRawData = TextConvertor.GetBytesFromTextAscii(testData);
     ZkActions.Create(path, testRawData, Ids.OPEN_ACL_UNSAFE, CreateMode.Persistent);
     return(ZkActions.Exists(path, false));
 }