FailoverNode { static String getExecutionFailoverNode(final int item) { return String.format(EXECUTION_FAILOVER, item); } FailoverNode(final String jobName); Integer getItemByExecutionFailoverPath(final String path);  }
@Test public void assertGetExecutionFailoverNode() { assertThat(FailoverNode.getExecutionFailoverNode(0), is("sharding/0/failover")); }
@Test public void assertGetExecutionFailoverNode() { assertThat(FailoverNode.getExecutionFailoverNode(0), is("execution/0/failover")); }