client.create().forPath("/test/2", "2".getBytes());
client.create().forPath("/test/3", "3".getBytes());
cache.start(PathChildrenCache.StartMode.POST_INITIALIZED_EVENT);
Assert.assertTrue(timing.awaitLatch(addedLatch));
Assert.assertTrue(timing.awaitLatch(initLatch));
Assert.assertEquals(cache.getCurrentData().size(), 3);
Assert.assertEquals(cache.getCurrentData().get(0).getData(), "1".getBytes());
Assert.assertEquals(cache.getCurrentData().get(1).getData(), "2".getBytes());
Assert.assertEquals(cache.getCurrentData().get(2).getData(), "3".getBytes());