15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_BLOCKING_PUBLISHER_CONNECTION_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_BLOCKING_PUBLISHER_CONNECTION_H
18#include "google/cloud/pubsub/blocking_publisher_connection.h"
19#include <gmock/gmock.h>
25GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
28
29
30
31
32
33
34
38 MOCK_METHOD(StatusOr<std::string>, Publish,
43GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
A connection to the Cloud Pub/Sub service to publish events.
Definition: blocking_publisher_connection.h:56
A googlemock-based mock for pubsub::BlockingPublisherConnection.
Definition: mock_blocking_publisher_connection.h:36
A namespace for googlemock-based Cloud Pub/Sub C++ client mocks.
Definition: mock_ack_handler.h:25
Contains all the Cloud Pub/Sub C++ client types and functions.
Definition: ack_handler.h:25
The namespace Google Cloud Platform C++ client libraries.
Wrap the arguments for Publish()
Definition: blocking_publisher_connection.h:61