JobNodePath { public String getServerNodePath() { return String.format("/%s/%s", jobName, SERVERS_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);  }
@Test public void assertGetServerNodePath() { assertThat(jobNodePath.getServerNodePath(), is("/test_job/servers")); }
@Test public void assertGetServerNodePathForServerIp() { assertThat(jobNodePath.getServerNodePath("ip0"), is("/test_job/servers/ip0")); }