15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_PUBLISHER_CONNECTION_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_PUBLISHER_CONNECTION_H
18#include "google/cloud/pubsub/publisher_connection.h"
19#include <gmock/gmock.h>
25GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
28
29
30
31
32
33
36 MOCK_METHOD(
future<StatusOr<std::string>>, Publish,
40 MOCK_METHOD(
void, ResumePublish,
44GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
friend friend class future
A connection to the Cloud Pub/Sub service to publish events.
Definition: publisher_connection.h:56
A googlemock-based mock for pubsub::PublisherConnection.
Definition: mock_publisher_connection.h:34
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 Flush()
Definition: publisher_connection.h:66
Wrap the arguments for Publish()
Definition: publisher_connection.h:61
Wrap the arguments for ResumePublish()
Definition: publisher_connection.h:69