### Question:
GHRequest { public HintsMap 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(); String getAlgorithm(); GHRequest setAlgorithm(String algo); Locale getLocale(); GHRequest setLocale(Locale locale); GHRequest setLocale(String localeStr); String getWeighting(); GHRequest setWeighting(String w); String getVehicle(); GHRequest setVehicle(String vehicle); HintsMap getHints(); GHRequest setPointHints(List<String> pointHints); List<String> getPointHints(); boolean hasPointHints(); GHRequest setPathDetails(List<String> pathDetails); List<String> getPathDetails(); @Override String toString();  }### 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); }