@Test public void assertGetLeaderIpNodePath() { assertThat(jobNodePath.getLeaderHostNodePath(), is("/test_job/leader/election/instance")); }
public String getLeaderHostNodePath() { return String.format("/%s/%s", jobName, LEADER_HOST_NODE); }
JobNodePath { public String getLeaderHostNodePath() { return String.format("/%s/%s", jobName, LEADER_HOST_NODE); } }
JobNodePath { public String getLeaderHostNodePath() { return String.format("/%s/%s", jobName, LEADER_HOST_NODE); }  }
JobNodePath { public String getLeaderHostNodePath() { return String.format("/%s/%s", jobName, LEADER_HOST_NODE); }  String getFullPath(final String node); String getConfigNodePath(); String getLeaderHostNodePath(); String getServerNodePath(); String getServerNodePath(final String serverIp); String getInstancesNodePath(); String getInstanceNodePath(final String instanceId); String getShardingNodePath(); String getShardingNodePath(final String item, final String nodeName); }
JobNodePath { public String getLeaderHostNodePath() { return String.format("/%s/%s", jobName, LEADER_HOST_NODE); }  String getFullPath(final String node); String getConfigNodePath(); String getLeaderHostNodePath(); String getServerNodePath(); String getServerNodePath(final String serverIp); String getInstancesNodePath(); String getInstanceNodePath(final String instanceId); String getShardingNodePath(); String getShardingNodePath(final String item, final String nodeName);  }