This interface defines virtual methods for each of the user-facing overload sets in ServiceControllerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ServiceControllerClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["This page details the `ServiceControllerConnection` class, which is an interface for `ServiceControllerClient` and allows for custom behavior injection, like with Google Mock objects, in testing."],["The latest release candidate version of the `ServiceControllerConnection` is 2.37.0-rc, with numerous other previous releases available, including version 2.28.0 which this documentation centers around."],["The `ServiceControllerConnection` object can be instantiated using the `MakeServiceControllerConnection()` function."],["The `ServiceControllerConnection` interface includes virtual methods for `options()`, `Check(google::api::servicecontrol::v2::CheckRequest const &)`, and `Report(google::api::servicecontrol::v2::ReportRequest const &)`."],["Mocking for this class can be done using `servicecontrol_v2_mocks::MockServiceControllerConnection` to help create more robust testing suites."]]],[]]