Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
|
A class to mock FulfillmentsConnection
.
More...
#include <google/cloud/dialogflow_es/mocks/mock_fulfillments_connection.h>
Public Member Functions | |
MOCK_METHOD (Options, options,(),(override)) | |
MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::Fulfillment >, GetFulfillment,(google::cloud::dialogflow::v2::GetFulfillmentRequest const &request),(override)) | |
MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::Fulfillment >, UpdateFulfillment,(google::cloud::dialogflow::v2::UpdateFulfillmentRequest const &request),(override)) | |
virtual Options | options () |
virtual StatusOr< google::cloud::dialogflow::v2::Fulfillment > | GetFulfillment (google::cloud::dialogflow::v2::GetFulfillmentRequest const &request) |
virtual StatusOr< google::cloud::dialogflow::v2::Fulfillment > | UpdateFulfillment (google::cloud::dialogflow::v2::UpdateFulfillmentRequest const &request) |
A class to mock FulfillmentsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type FulfillmentsClient
. To do so, construct an object of type FulfillmentsClient
with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.
*Client
and *Connection
.
|
virtualinherited |
google::cloud::dialogflow_es_mocks::MockFulfillmentsConnection::MOCK_METHOD | ( | Options | , |
options | , | ||
() | , | ||
(override) | |||
) |
google::cloud::dialogflow_es_mocks::MockFulfillmentsConnection::MOCK_METHOD | ( | StatusOr< google::cloud::dialogflow::v2::Fulfillment > | , |
GetFulfillment | , | ||
(google::cloud::dialogflow::v2::GetFulfillmentRequest const &request) | , | ||
(override) | |||
) |
google::cloud::dialogflow_es_mocks::MockFulfillmentsConnection::MOCK_METHOD | ( | StatusOr< google::cloud::dialogflow::v2::Fulfillment > | , |
UpdateFulfillment | , | ||
(google::cloud::dialogflow::v2::UpdateFulfillmentRequest const &request) | , | ||
(override) | |||
) |
|
inlinevirtualinherited |
|
virtualinherited |