GuaranteeNode { boolean isCompletedRootNode(final String path) { return jobNodePath.getFullPath(COMPLETED_ROOT).equals(path); } GuaranteeNode(final String jobName);   }
@Test public void assertIsCompletedRootNode() { assertTrue(guaranteeNode.isCompletedRootNode("/test_job/guarantee/completed")); }
@Test public void assertIsNotCompletedRootNode() { assertFalse(guaranteeNode.isCompletedRootNode("/otherJob/guarantee/completed")); }
@Test public void testIsCompletedRootNode() { assertTrue(guaranteeNode.isCompletedRootNode("/testJob/guarantee/completed")); }
@Test public void testIsNotCompletedRootNode() { assertFalse(guaranteeNode.isCompletedRootNode("/otherJob/guarantee/completed")); }