@Test public void testGet_NonExistent() throws Exception { expect(zk.exists(eq(ZPATH), anyObject(Watcher.class))).andReturn(null); replay(zk); assertNull(zc.get(ZPATH)); verify(zk); }
public byte[] get(final String zPath) { return get(zPath, null); }
ZooCache { public byte[] get(final String zPath) { return get(zPath, null); } }
ZooCache { public byte[] get(final String zPath) { return get(zPath, null); } ZooCache(String zooKeepers, int sessionTimeout);  ZooCache(String zooKeepers, int sessionTimeout, Watcher watcher);  ZooCache(ZooReader reader);  ZooCache(ZooReader reader, Watcher watcher); }
ZooCache { public byte[] get(final String zPath) { return get(zPath, null); } ZooCache(String zooKeepers, int sessionTimeout);  ZooCache(String zooKeepers, int sessionTimeout, Watcher watcher);  ZooCache(ZooReader reader);  ZooCache(ZooReader reader, Watcher watcher); List<String> getChildren(final String zPath); byte[] get(final String zPath); byte[] get(final String zPath, final ZcStat status); void clear(); void close(); long getUpdateCount(); void clear(String zPath); byte[] getLockData(String path); }
ZooCache { public byte[] get(final String zPath) { return get(zPath, null); } ZooCache(String zooKeepers, int sessionTimeout);  ZooCache(String zooKeepers, int sessionTimeout, Watcher watcher);  ZooCache(ZooReader reader);  ZooCache(ZooReader reader, Watcher watcher); List<String> getChildren(final String zPath); byte[] get(final String zPath); byte[] get(final String zPath, final ZcStat status); void clear(); void close(); long getUpdateCount(); void clear(String zPath); byte[] getLockData(String path);  }