GuaranteeNode { static String getCompletedNode(final int shardingItem) { return String.join("/", COMPLETED_ROOT, shardingItem + ""); } GuaranteeNode(final String jobName);   }
@Test public void assertGetCompletedNode() { assertThat(GuaranteeNode.getCompletedNode(1), is("guarantee/completed/1")); }