blob: 1ef94a45063167122fdd41e9dc0a59ce26e10787 [file] [log] [blame]
#pragma once
#include "handler.hpp"
#include <cstdint>
#include <string>
#include <gmock/gmock.h>
namespace ethstats
{
class HandlerMock : public EthStatsInterface
{
public:
~HandlerMock() = default;
MOCK_CONST_METHOD1(validIfNameAndField, bool(const std::string&));
MOCK_CONST_METHOD1(readStatistic, std::uint64_t(const std::string&));
};
} // namespace ethstats