[[["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 provides documentation for `MockPublisherConnection`, a googlemock-based mock class designed for testing Google Cloud Pub/Sub publisher applications, which is available across multiple versions."],["The latest version available is 2.37.0-rc, and the page lists a series of previous versions down to 2.11.0, each with its own link to the documentation."],["`MockPublisherConnection` includes mocked versions of `Publish`, `Flush`, and `ResumePublish` functions, mirroring the interface of the real `PublisherConnection`."],["Each of the mocked functions utilize the `MOCK_METHOD()` functionality from [gMock](https://google.github.io/googletest) for each implementation."],["You can consult the googlemock testing documentation to find out more information on how to use this mock in your testing procedures."]]],[]]