[[["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-04-17 UTC."],[[["This webpage provides documentation for the `MockPublisherConnection` class, a googlemock-based mock for `pubsub::PublisherConnection`, and lists the available versions of this documentation, with 2.37.0-rc being the latest."],["The `MockPublisherConnection` class is designed to help developers test their Cloud Pub/Sub publisher applications using googlemock, as shown in an example on this page."],["The documentation outlines the key functions within the `MockPublisherConnection` class, including `Publish`, `Flush`, and `ResumePublish`, all of which are implemented using gMock's `MOCK_METHOD()`."],["Each of the key functions, such as `Publish`, has its own parameter and return type, that are all described in the tables provided in the documentation for that function."],["The documentation provides links to different versions of the documentation for the `MockPublisherConnection`, starting with the 2.37.0-rc and going all the way back to 2.11.0."]]],[]]