1#ifndef TENDUKE_TEST_MOCKS_CLOCKMOCK_H
2#define TENDUKE_TEST_MOCKS_CLOCKMOCK_H
6#include "gmock/gmock.h"
10namespace tenduke {
namespace test {
namespace mocks {
15 MOCK_METHOD(std::int64_t,
epochSeconds, (), (
const,
noexcept,
override));
17 static std::shared_ptr<ClockMock> createShared()
19 return std::make_shared<ClockMock>();
Definition ClockMock.h:13
A clock-service to generate timestamps.
Definition Clock.h:13
virtual std::int64_t epochSeconds() const noexcept=0
Returns current time as seconds from epoch.
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4