InstanceNode { public String getInstanceFullPath() { return jobNodePath.getFullPath(InstanceNode.ROOT); } InstanceNode(final String jobName); String getInstanceFullPath(); boolean isInstancePath(final String path); static final String ROOT; }
@Test public void assertGetInstanceFullPath() { assertThat(instanceNode.getInstanceFullPath(), is("/test_job/instances")); }