[[["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-09 UTC."],[[["The latest version of the `MockPublisherConnection` is 2.37.0-rc, and the page provides access to the documentation for this version and prior ones."],["This page documents a `googlemock`-based mock for `pubsub::PublisherConnection`, used for testing Cloud Pub/Sub publisher applications with googlemock."],["The `MockPublisherConnection` class includes mock implementations for `Publish()`, `Flush()`, and `ResumePublish()`, all created using gMock's `MOCK_METHOD()`."],["The mocked `Publish` function takes `PublishParams` as a parameter, and it returns a future of `StatusOr\u003c std::string \u003e`."],["The `Flush` and `ResumePublish` mocked functions take `FlushParams` and `ResumePublishParams` as parameters respectively, and both return void."]]],[]]