This interface defines virtual methods for each of the user-facing overload sets in FleetRoutingClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type FleetRoutingClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e class within the Google Cloud Optimization C++ library, detailing its role in defining virtual methods for the \u003ccode\u003eFleetRoutingClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e allows custom behavior injection during testing, particularly with Google Mock objects, to enhance test coverage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is for 2.37.0-rc, but documentation is also available for past versions from 2.11.0 up to 2.36.0.\u003c/p\u003e\n"],["\u003cp\u003eKey functions documented for \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e include \u003ccode\u003eOptimizeTours\u003c/code\u003e and multiple overloads of \u003ccode\u003eBatchOptimizeTours\u003c/code\u003e, each handling different request and response types.\u003c/p\u003e\n"],["\u003cp\u003eThe page also details how to create an instance of \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e using \u003ccode\u003eMakeFleetRoutingConnection()\u003c/code\u003e and how to mock it using \u003ccode\u003eMockFleetRoutingConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]