Szymon Dompke | b7b7e1b | 2022-05-19 10:15:48 +0200 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "interfaces/clock.hpp" | ||||
4 | #include "types/duration_types.hpp" | ||||
5 | |||||
6 | #include <gmock/gmock.h> | ||||
7 | |||||
8 | class ClockMock : public interfaces::Clock | ||||
9 | { | ||||
10 | public: | ||||
11 | MOCK_METHOD(Milliseconds, steadyTimestamp, (), (const, noexcept, override)); | ||||
12 | MOCK_METHOD(Milliseconds, systemTimestamp, (), (const, noexcept, override)); | ||||
13 | }; |