Patrick Venture | 123b5c0 | 2019-03-05 14:01:00 -0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <ipmiblob/ipmi_interface.hpp> |
| 4 | |
| 5 | #include <gmock/gmock.h> |
| 6 | |
Patrick Venture | 1470bec | 2019-03-06 07:33:12 -0800 | [diff] [blame] | 7 | namespace ipmiblob |
Patrick Venture | 123b5c0 | 2019-03-05 14:01:00 -0800 | [diff] [blame] | 8 | { |
| 9 | |
| 10 | class IpmiInterfaceMock : public IpmiInterface |
| 11 | { |
| 12 | public: |
| 13 | virtual ~IpmiInterfaceMock() = default; |
| 14 | MOCK_METHOD1(sendPacket, |
| 15 | std::vector<std::uint8_t>(std::vector<std::uint8_t>&)); |
| 16 | }; |
| 17 | |
Patrick Venture | 1470bec | 2019-03-06 07:33:12 -0800 | [diff] [blame] | 18 | } // namespace ipmiblob |