Patrick Venture | cf2d1b1 | 2018-12-11 18:22:36 -0800 | [diff] [blame] | 1 | #pragma once |
2 | |||||
Patrick Venture | fa662eb | 2018-12-12 14:07:24 -0800 | [diff] [blame^] | 3 | #include "ipmi_interface.hpp" |
4 | |||||
5 | #include <gmock/gmock.h> | ||||
6 | |||||
Patrick Venture | cf2d1b1 | 2018-12-11 18:22:36 -0800 | [diff] [blame] | 7 | class IpmiInterfaceMock : public IpmiInterface |
8 | { | ||||
9 | public: | ||||
10 | virtual ~IpmiInterfaceMock() = default; | ||||
11 | MOCK_METHOD1(sendPacket, int(const std::vector<std::uint8_t>&)); | ||||
12 | }; |