10Duke Scale C++ Client
Loading...
Searching...
No Matches
HTTPCallMock.h
1#ifndef TENDUKE_TEST_MOCKS_HTTPCALLMOCK_H
2#define TENDUKE_TEST_MOCKS_HTTPCALLMOCK_H
3
4#include "http/HTTPCall.h"
5
6#include "gmock/gmock.h"
7
8namespace tenduke { namespace test { namespace mocks {
9
11public:
12 MOCK_METHOD(std::unique_ptr<tenduke::http::HTTPResponse>, execute, (), (override));
13};
14
15}}}
16
17#endif //TENDUKE_TEST_MOCKS_HTTPCALLMOCK_H
HTTP-call which executes the request and returns HTTPResponse.
Definition HTTPCall.h:15
virtual std::unique_ptr< tenduke::http::HTTPResponse > execute()=0
Executes the call synchronously.
Definition HTTPCallMock.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7