ConfigCurator { public String getData(String path, String node) { return getData(createFullPath(path, node)); } @Inject  ConfigCurator(Curator curator, ZookeeperServerConfig config); private  ConfigCurator(Curator curator, int maxNodeSize); static ConfigCurator create(Curator curator); Curator curator(); String getData(String path, String node); String getData(String path); byte[] getBytes(String path); boolean exists(String path, String node); boolean exists(String path); void createNode(String path); void createNode(String path, String node); void putData(String path, String node, String data); void putData(String path, String data); void putData(String path, byte[] data); List<String> getChildren(String path); void putDefData(String name, String path, byte[] data); void deleteRecurse(String path); static final String DEFCONFIGS_ZK_SUBPATH; static final String USER_DEFCONFIGS_ZK_SUBPATH; static final String META_ZK_PATH; static final String USERAPP_ZK_SUBPATH; static final String SESSIONSTATE_ZK_SUBPATH; static final java.util.logging.Logger log; }
@Test public void testGetDeployedData() { ConfigCurator zkIf = deployApp(); assertEquals(zkIf.getData(ConfigCurator.DEFCONFIGS_ZK_SUBPATH, defKey1), payload1); }