[[["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-21 UTC."],[[["This webpage provides documentation for the `MockBlockingPublisherConnection` class, a googlemock-based mock for testing Cloud Pub/Sub publisher applications."],["The latest version of the class is `2.37.0-rc`, and the page lists all versions starting from `2.37.0-rc` to `2.11.0`."],["The class defines two primary functions: `Publish(PublishParams)`, which mocks the behavior of `BlockingPublisher::Publish()`, and `options()`, which returns the options configured at initialization."],["Both `Publish()` and `options()` are implemented using gMock's `MOCK_METHOD()`, requiring users to consult the gMock documentation for test implementation."],["The webpage provides a reference to a testing example, demonstrating the practical use of this class in testing scenarios found at [Testing your Cloud Pub/Sub publisher application with googlemock](/cpp/docs/reference/pubsub/2.23.0/publisher-mock)."]]],[]]