blob: a92606a4d63c36a92a6b10cd7a5c8ab7cb4ae319 [file] [log] [blame]
Patrick Venturef085d912019-03-15 08:50:00 -07001#pragma once
2
3#include "handler.hpp"
4
5#include <gmock/gmock.h>
6
7namespace google
8{
9namespace ipmi
10{
11
12class HandlerMock : public HandlerInterface
13{
14
15 public:
16 ~HandlerMock() = default;
17
18 MOCK_CONST_METHOD0(getEthDetails, std::tuple<std::uint8_t, std::string>());
Patrick Ventured2037c62019-03-15 10:29:47 -070019 MOCK_CONST_METHOD1(getRxPackets, std::int64_t(const std::string&));
Patrick Venturebb90d4f2019-03-15 13:42:06 -070020 MOCK_CONST_METHOD1(getCpldVersion,
21 std::tuple<std::uint8_t, std::uint8_t, std::uint8_t,
22 std::uint8_t>(unsigned int));
Patrick Venturef085d912019-03-15 08:50:00 -070023};
24
25} // namespace ipmi
26} // namespace google