15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_ACK_HANDLER_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_ACK_HANDLER_H
18#include "google/cloud/pubsub/ack_handler.h"
19#include <gmock/gmock.h>
27
28
29
30
31
32
33
34
35GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
38
39
40
41
42
43
46 MOCK_METHOD(
void, ack, (), (
override));
47 MOCK_METHOD(
void, nack, (), (
override));
48 MOCK_METHOD(std::string, ack_id, ());
49 MOCK_METHOD(std::int32_t, delivery_attempt, (), (
const,
override));
52GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Allow applications to mock an AckHandler.
Definition: ack_handler.h:91
Defines the interface to acknowledge and reject messages.
Definition: ack_handler.h:49
The inlined, versioned namespace for the Cloud Pub/Sub C++ client APIs.
Definition: mock_ack_handler.h:44
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.