### Question:
GHRequest { public WeightingMap getHints() { return hints; } GHRequest();  GHRequest( int size );  GHRequest( double fromLat, double fromLon, double toLat, double toLon,
                      double startHeading, double endHeading );  GHRequest( double fromLat, double fromLon, double toLat, double toLon );  GHRequest( GHPoint startPlace, GHPoint endPlace, double startHeading, double endHeading );  GHRequest( GHPoint startPlace, GHPoint endPlace );  GHRequest( List<GHPoint> points, List<Double> favoredHeadings );  GHRequest( List<GHPoint> points ); GHRequest addPoint( GHPoint point, double favoredHeading ); GHRequest addPoint( GHPoint point ); double getFavoredHeading( int i ); boolean hasFavoredHeading( int i ); List<GHPoint> getPoints(); GHRequest setAlgorithm( String algo ); String getAlgorithm(); Locale getLocale(); GHRequest setLocale( Locale locale ); GHRequest setLocale( String localeStr ); GHRequest setWeighting( String w ); String getWeighting(); GHRequest setVehicle( String vehicle ); String getVehicle(); @Override String toString(); WeightingMap getHints();  }### Answer:
@Test public void testGetHint() { GHRequest instance = new GHRequest(10, 12, 12, 10); instance.getHints().put("something", "1"); assertEquals(1, instance.getHints().getInt("something", 2)); assertEquals(1, instance.getHints().getDouble("something", 2d), 1e1); }