[[["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 the `MockBlockingPublisherConnection` class, a googlemock-based mock for testing `pubsub::BlockingPublisherConnection`."],["The `MockBlockingPublisherConnection` class has versions available from 2.11.0 up to the latest release candidate 2.37.0-rc, and you can find the documentation for each."],["It defines the interface for `BlockingPublisher::Publish()` using gMock's `MOCK_METHOD()`, which returns a `StatusOr\u003cstd::string\u003e`."],["It also features a `options()` function, implemented using gMock's `MOCK_METHOD()`, that returns the `Options` configured during initialization."],["An example of utilizing this class for testing is found in \"Testing your Cloud Pub/Sub publisher application with googlemock\"."]]],[]]