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

  Checkpoint cp = null;
  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}");
  // Reflexive
  Assert.assertEquals(cp, cp);
  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\":1000}");
  // Symmetric
  Assert.assertEquals(cp2, cp);
  Checkpoint cp3 = cp2.clone();
  Assert.assertEquals(cp3, cp2);
  Assert.assertEquals(cp, cp3);
}