Class MockPullAckHandler (2.19.0)

A googlemock-based mock for [pubsub::PullAckHandler::Impl][mocked-link].

google:☁️:pubsub_internal::PullAckHandler::Impl

Functions

virtual ack()

The implementation for PullAckHandler::ack()

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Returns
TypeDescription
future< Status >

virtual nack()

The implementation for PullAckHandler::nack()

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Returns
TypeDescription
future< Status >

virtual delivery_attempt() const

The implementation for PullAckHandler::delivery_attempt()

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Returns
TypeDescription
std::int32_t