### Question:
IsochronesRequestHandler extends GenericHandler { RouteSearchParameters constructRouteSearchParameters(IsochronesRequest request) throws Exception { RouteSearchParameters routeSearchParameters = new RouteSearchParameters(); int profileType; try { profileType = convertToIsochronesProfileType(request.getProfile()); } catch (Exception e) { throw new ParameterValueException(IsochronesErrorCodes.INVALID_PARAMETER_VALUE, IsochronesRequest.PARAM_PROFILE); } if (profileType == RoutingProfileType.UNKNOWN) throw new ParameterValueException(IsochronesErrorCodes.INVALID_PARAMETER_VALUE, IsochronesRequest.PARAM_PROFILE); routeSearchParameters.setProfileType(profileType); if (request.hasOptions()) { routeSearchParameters = processIsochronesRequestOptions(request, routeSearchParameters); } routeSearchParameters.setConsiderTurnRestrictions(false); return routeSearchParameters; } IsochronesRequestHandler(); void generateIsochronesFromRequest(IsochronesRequest request); IsochroneMapCollection getIsoMaps(); IsochroneRequest getIsochroneRequest();  }### Answer:
@Test public void constructRouteSearchParametersTest() throws Exception { Double[][] coordinates = {{1.0, 3.0}, {1.0, 3.0}}; IsochronesRequestHandler isochronesRequestHandler = new IsochronesRequestHandler(); IsochronesRequest request = new IsochronesRequest(); request.setProfile(APIEnums.Profile.DRIVING_CAR); request.setLocations(coordinates); RouteSearchParameters routeSearchParameters = isochronesRequestHandler.constructRouteSearchParameters(request); Assert.assertEquals(RoutingProfileType.DRIVING_CAR, routeSearchParameters.getProfileType()); Assert.assertEquals(WeightingMethod.FASTEST, routeSearchParameters.getWeightingMethod()); Assert.assertFalse(routeSearchParameters.getConsiderTurnRestrictions()); Assert.assertNull(routeSearchParameters.getAvoidAreas()); Assert.assertEquals(0, routeSearchParameters.getAvoidFeatureTypes()); Assert.assertEquals(0, routeSearchParameters.getVehicleType()); Assert.assertFalse(routeSearchParameters.getFlexibleMode()); Assert.assertEquals(BordersExtractor.Avoid.NONE, routeSearchParameters.getAvoidBorders()); Assert.assertNull(routeSearchParameters.getProfileParameters()); Assert.assertNull(routeSearchParameters.getBearings()); Assert.assertNull(routeSearchParameters.getMaximumRadiuses()); Assert.assertNull(routeSearchParameters.getAvoidCountries()); Assert.assertNull(routeSearchParameters.getOptions()); }