@Test
public void testGetStringData() throws Exception {

  String node1 = "/node1";
  String node2 = "/node2";
  assertFalse(curator.exists(node1));
  curator.create(node1);
  assertNull(curator.getStringData(node1));
  byte[] setData = "setData".getBytes("UTF-8");
  curator.setData(node1, setData, -1);
  assertEquals("setData", curator.getStringData(node1));
  Stat stat = new Stat();
  assertFalse(curator.exists(node2));
  curator.create(node2);
  assertNull(curator.getStringData(node2, stat));
  curator.setData(node2, setData, -1);
  assertEquals("setData", curator.getStringData(node2, stat));
}