JobNodePath { public String getFullPath(final String node) { return String.format("/%s/%s", jobName, node); }  String getFullPath(final String node); String getConfigNodePath(final String nodeName); String getLeaderNodePath(final String nodeName); String getServerNodePath(); String getServerNodePath(final String serverIp); String getServerNodePath(final String serverIp, final String nodeName); String getExecutionNodePath(); String getExecutionNodePath(final String item, final String nodeName); static final String TRIGGER_NODE; static final String PAUSED_NODE; static final String DISABLED_NODE; static final String SHUTDOWN_NODE; static final String STATUS_NODE; }
@Test public void assertGetFullPath() { assertThat(jobNodePath.getFullPath("node"), is("/testJob/node")); }