blob: a78dc1385fea6e8501404e1ec0692ce45adbe1d6 [file] [log] [blame]
Patrick Venture123b5c02019-03-05 14:01:00 -08001#pragma once
2
3#include <ipmiblob/ipmi_interface.hpp>
4
5#include <gmock/gmock.h>
6
Patrick Venture1470bec2019-03-06 07:33:12 -08007namespace ipmiblob
Patrick Venture123b5c02019-03-05 14:01:00 -08008{
9
10class IpmiInterfaceMock : public IpmiInterface
11{
12 public:
13 virtual ~IpmiInterfaceMock() = default;
Willy Tu8da5f722021-04-24 16:30:50 -070014 MOCK_METHOD(std::vector<std::uint8_t>, sendPacket,
15 (std::uint8_t, std::uint8_t, std::vector<std::uint8_t>&),
16 (override));
Patrick Venture123b5c02019-03-05 14:01:00 -080017};
18
Patrick Venture1470bec2019-03-06 07:33:12 -080019} // namespace ipmiblob