blob: 1ef94a45063167122fdd41e9dc0a59ce26e10787 [file] [log] [blame]
Patrick Ventureaca98132019-03-18 11:14:16 -07001#pragma once
2
3#include "handler.hpp"
4
5#include <cstdint>
6#include <string>
7
8#include <gmock/gmock.h>
9
10namespace ethstats
11{
12
13class HandlerMock : public EthStatsInterface
14{
15 public:
16 ~HandlerMock() = default;
17
18 MOCK_CONST_METHOD1(validIfNameAndField, bool(const std::string&));
19 MOCK_CONST_METHOD1(readStatistic, std::uint64_t(const std::string&));
20};
21
22} // namespace ethstats