### Question:
Annotation implements Comparable<Annotation> { @Override public int hashCode() { return (int) (getId() ^ (getId() >>> 32)); } protected  Annotation(); long getId(); void remove(); void setId(long id); void setMapboxMap(MapboxMap mapboxMap); void setMapView(MapView mapView); @Override int compareTo(@NonNull Annotation annotation); @Override boolean equals(@Nullable Object object); @Override int hashCode();  }### Answer:
@Test public void testHashcode() { int id = 1; annotation.setId(id); assertSame("hashcode should match", annotation.hashCode(), id); }