1#ifndef TENDUKE_TEST_MOCKS_OAUTHTOKENREQUESTFAKE_H
2#define TENDUKE_TEST_MOCKS_OAUTHTOKENREQUESTFAKE_H
4#include "oauth/OAuthTokenRequest.h"
6namespace tenduke {
namespace test {
namespace mocks {
16 std::unique_ptr<tenduke::oauth::OAuthTokenResponse>
execute()
const override
21 std::shared_ptr<tenduke::oauth::OAuthTokenResponse> response;
OAuth token request.
Definition OAuthTokenRequest.h:23
OAuthTokenRequest(std::unique_ptr< tenduke::http::HTTPCall > httpCall, const std::shared_ptr< const tenduke::json::JSONParser > &jsonParser, const std::shared_ptr< tenduke::time::Clock > &clock, const std::shared_ptr< const tenduke::http::HTTPResponseToException > &throwException)
Constructs new instance.
Definition OAuthTokenRequest.cpp:20
Encapsulates results from tenduke::oauth::OAuthTokenRequest.
Definition OAuthTokenResponse.h:16
Definition OAuthTokenRequestFake.h:9
std::unique_ptr< tenduke::oauth::OAuthTokenResponse > execute() const override
Executes the token request.
Definition OAuthTokenRequestFake.h:16
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4