ExecutionNode { static String getNextFireTimeNode(final int item) { return String.format(NEXT_FIRE_TIME, item); } ExecutionNode(final String jobName); static String getRunningNode(final int item); Integer getItemByRunningItemPath(final String path); static final String ROOT; }
@Test public void assertGetNextFireTimeNode() { assertThat(ExecutionNode.getNextFireTimeNode(0), is("execution/0/nextFireTime")); }