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