[[["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 webpage provides documentation for `MockPublisherConnection`, a googlemock-based mock class designed for testing the `pubsub::PublisherConnection`."],["It lists available versions of the mock class, ranging from 2.11.0 up to the latest release candidate 2.37.0-rc, with version 2.23.0 being the base."],["The `MockPublisherConnection` class defines virtual interfaces for `Publish()`, `Flush()`, and `ResumePublish()` functions, mirroring the actual `Publisher` class's methods."],["Each of these mock functions is implemented using gMock's `MOCK_METHOD()`, allowing for flexible mocking in tests as detailed by the gMock documentation."],["An example of how to use the mock class for testing a Cloud Pub/Sub publisher application is available for reference at the indicated URL."]]],[]]