blob: 374dc937652605895c9a4b895e2a349a2844cfce [file] [log] [blame]
Patrick Venturecf2d1b12018-12-11 18:22:36 -08001#pragma once
2
Patrick Venturefa662eb2018-12-12 14:07:24 -08003#include "ipmi_interface.hpp"
4
5#include <gmock/gmock.h>
6
Patrick Venture9b534f02018-12-13 16:10:02 -08007namespace host_tool
8{
9
Patrick Venturecf2d1b12018-12-11 18:22:36 -080010class IpmiInterfaceMock : public IpmiInterface
11{
12 public:
13 virtual ~IpmiInterfaceMock() = default;
Patrick Venture035bbbb2018-12-12 14:59:52 -080014 MOCK_METHOD1(sendPacket,
Patrick Ventureecfd3002018-12-14 13:57:28 -080015 std::vector<std::uint8_t>(std::vector<std::uint8_t>&));
Patrick Venturecf2d1b12018-12-11 18:22:36 -080016};
Patrick Venture9b534f02018-12-13 16:10:02 -080017
18} // namespace host_tool