### Question:
Marker extends Annotation { public String getSnippet() { return snippet; } Marker();  Marker(BaseMarkerOptions baseMarkerOptions);   Marker(LatLng position, Icon icon, String title, String snippet); LatLng getPosition(); String getSnippet(); String getTitle(); void hideInfoWindow(); boolean isInfoWindowShown(); void setPosition(LatLng position); void setSnippet(String snippet); void setIcon(@Nullable Icon icon); @Nullable Icon getIcon(); void setTitle(String title); @Nullable InfoWindow getInfoWindow(); @Nullable InfoWindow showInfoWindow(@NonNull MapboxMap mapboxMap, @NonNull MapView mapView); void setTopOffsetPixels(int topOffsetPixels); void setRightOffsetPixels(int rightOffsetPixels); @Override String toString();  }### Answer:
@Test public void testSnippet() { MarkerOptions markerOptions = new MarkerOptions().snippet("Mapbox").position(new LatLng()); Marker marker = markerOptions.getMarker(); assertEquals(marker.getSnippet(), "Mapbox"); }