123456789101112131415161718192021222324252627282930 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-03-15
- * Changed: 2023-04-01
- *
- * */
- #ifndef LS_STD_MOCK_CLOCK_HPP
- #define LS_STD_MOCK_CLOCK_HPP
- #include <gmock/gmock.h>
- #include <ls-std/time/common/DateParameter.hpp>
- #include <ls-std/time/system-time/IClock.hpp>
- namespace test::time
- {
- class MockClock : public ls::std::time::IClock
- {
- public:
- MockClock();
- ~MockClock() noexcept override;
- MOCK_METHOD(bool, setTime, (const ls::std::time::DateParameter &_dateParameter), (override));
- };
- }
- #endif
|