InstanceNode { String getLocalInstanceNode() { return String.format(INSTANCES, JobRegistry.getInstance().getJobInstance(jobName).getJobInstanceId()); } InstanceNode(final String jobName); String getInstanceFullPath(); boolean isInstancePath(final String path); static final String ROOT; }
@Test public void assertGetLocalInstancePath() { assertThat(instanceNode.getLocalInstanceNode(), is("instances/127.0.0.1@-@0")); }