### Question:
OSMReader implements DataReader, TurnCostParser.ExternalInternalMap { @Override public String toString() { return getClass().getSimpleName(); } OSMReader(GraphHopperStorage ghStorage); @Override void readGraph(); void processRelation(ReaderRelation relation); @Override long getOsmIdOfInternalEdge(int edgeId); @Override int getInternalNodeIdOfOsmNode(long nodeOsmId); @Override OSMReader setWayPointMaxDistance(double maxDist); @Override DataReader setSmoothElevation(boolean smoothElevation); @Override OSMReader setWorkerThreads(int numOfWorkers); @Override OSMReader setElevationProvider(ElevationProvider eleProvider); @Override DataReader setFile(File osmFile); @Override Date getDataDate(); @Override String toString();  }### Answer:
@Test public void testRoutingRequestFails_issue665() { GraphHopper hopper = new GraphHopperOSM() .setDataReaderFile(getClass().getResource(file7).getFile()) .setEncodingManager(EncodingManager.create("car,motorcycle")) .setGraphHopperLocation(dir); hopper.getCHFactoryDecorator().setEnabled(false); hopper.importOrLoad(); GHRequest req = new GHRequest(48.977277, 8.256896, 48.978876, 8.254884). setWeighting("curvature"). setVehicle("motorcycle"); GHResponse ghRsp = hopper.route(req); assertFalse(ghRsp.getErrors().toString(), ghRsp.hasErrors()); }