| Patrick Venture | aca9813 | 2019-03-18 11:14:16 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "handler.hpp" |
| 4 | |
| 5 | #include <cstdint> |
| 6 | #include <string> |
| 7 | |
| 8 | #include <gmock/gmock.h> |
| 9 | |
| 10 | namespace ethstats |
| 11 | { |
| 12 | |
| 13 | class HandlerMock : public EthStatsInterface |
| 14 | { |
| 15 | public: |
| 16 | ~HandlerMock() = default; |
| 17 | |
| Jayanth Othayoth | aca5666 | 2025-10-07 06:11:00 -0500 | [diff] [blame^] | 18 | MOCK_METHOD(bool, validIfNameAndField, (const std::string&), (const)); |
| 19 | MOCK_METHOD(std::uint64_t, readStatistic, (const std::string&), (const)); |
| Patrick Venture | aca9813 | 2019-03-18 11:14:16 -0700 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | } // namespace ethstats |