1#ifndef TENDUKE_TEST_MOCKS_AUTHZLICENSINGCLIENTMOCK_H
2#define TENDUKE_TEST_MOCKS_AUTHZLICENSINGCLIENTMOCK_H
4#include "licensing/authz/AuthzLicensingClient.h"
6#include "gmock/gmock.h"
8namespace tenduke {
namespace test {
namespace mocks {
15 MOCK_METHOD((std::unique_ptr<::tenduke::ee::licensing::authzapi::LicenseRenewRequest>),
renew, (const ::tenduke::ee::licensing::LicenseRenewParameters ¶meters), (
const,
override));
17 static std::shared_ptr<AuthzLicensingClientMock> createShared()
19 return std::make_shared<AuthzLicensingClientMock>();
Parameters for license checkout request.
Definition LicenseCheckoutParameters.h:18
Parameters for license-release request.
Definition LicenseReleaseParameters.h:13
Low-level client for licensing operations using 10Duke /authz/-API.
Definition AuthzLicensingClient.h:27
virtual std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseCheckoutRequest > checkout(const tenduke::ee::licensing::LicenseCheckoutParameters ¶meters) const =0
Checks out license(s).
virtual std::unique_ptr<::tenduke::ee::licensing::authzapi::LicenseRenewRequest > renew(const ::tenduke::ee::licensing::LicenseRenewParameters ¶meters) const =0
Renews leases of checked out license(s).
virtual std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseReleaseRequest > release(const tenduke::ee::licensing::LicenseReleaseParameters ¶meters) const =0
Releases checked out license(s).
Definition AuthzLicensingClientMock.h:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4