@Test
public void testCopyBootstrapCatchupCheckpoint() throws JsonParseException, JsonMappingException, IOException
{

  Checkpoint cp = null;
  // Happy path, Add V3 bootstrap parameters for bootstrap SNAPSHOT checkpoint
  cp = new Checkpoint("{\"consumption_mode\":\"BOOTSTRAP_CATCHUP\", \"bootstrap_since_scn\":0," +
      "\"bootstrap_start_scn\":1000,\"bootstrap_target_scn\":2000,\"bootstrap_catchup_source_index\":1," +
      "\"bootstrap_snapshot_source_index\":1,"+"\"storage_cluster_name\":\"testCluster\","+
      "\"bootstrap_snapshot_file_record_offset\":1000}");
  cp.assertCheckpoint();
  Checkpoint cp2 = new Checkpoint("{\"consumption_mode\":\"BOOTSTRAP_CATCHUP\", \"bootstrap_since_scn\":0," +
      "\"bootstrap_start_scn\":1000,\"bootstrap_target_scn\":2000,\"bootstrap_catchup_source_index\":1," +
      "\"bootstrap_snapshot_source_index\":1,"+"\"storage_cluster_name\":\"testCluster\","+
      "\"bootstrap_snapshot_file_record_offset\":2000}");
  cp2.copyBootstrapCatchupCheckpoint(cp);
  Assert.assertEquals(cp2.getSnapshotFileRecordOffset(), cp.getSnapshotFileRecordOffset());
}