@Test
  public void testWriteReadBackupStartCode() throws IOException {
    long code = 100L;
    table.writeBackupStartCode(code, "root");
    String readCode = table.readBackupStartCode("root");
    assertEquals(code, Long.parseLong(readCode));
    cleanBackupTable();
  }
Test cases for backup system table API
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupSystemTable.java