[[["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 details the `MockSubscriberConnection` class, a googlemock-based mock for `pubsub::SubscriberConnection` in C++ used for testing Cloud Pub/Sub subscriber applications."],["The class offers a series of virtual functions such as `Subscribe`, `ExactlyOnceSubscribe`, `Pull`, and `options`, which mirror the interface of a real `SubscriberConnection`, each of these are implemented using gMock's `MOCK_METHOD()`."],["The page provides a list of available versions for `MockSubscriberConnection`, ranging from version 2.11.0 up to the latest release candidate 2.37.0-rc."],["Each `Subscribe` and `ExactlyOnceSubscribe` method provides parameter specifications and return type information, both returning a `future\u003cStatus\u003e`."],["There is a section that provides a reference and example of how to test your Cloud Pub/Sub application with the mock on the `subscriber-mock` page."]]],[]]