ExecutionNode { static String getCompletedNode(final int item) { return String.format(COMPLETED, item); } ExecutionNode(final String jobName); static String getRunningNode(final int item); Integer getItemByRunningItemPath(final String path); static final String ROOT; }
@Test public void assertGetCompletedNode() { assertThat(ExecutionNode.getCompletedNode(0), is("execution/0/completed")); }