[[["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 `MockBlockingPublisherConnection` class, a googlemock-based mock for testing Cloud Pub/Sub publisher applications."],["The `MockBlockingPublisherConnection` class has multiple versions, including 2.37.0-rc (latest) down to 2.11.0."],["The mock class defines two virtual functions: `Publish()`, which mirrors `BlockingPublisher::Publish()`, and `options()`, to return the options configured at initialization time."],["Both the `Publish()` and `options()` functions use gMock's `MOCK_METHOD()`, requiring users to consult the gMock documentation for proper usage in their tests."],["The page references a separate resource, \"Testing your Cloud Pub/Sub publisher application with googlemock,\" for an example of how to use this class in test scenarios."]]],[]]