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; |
Willy Tu | 8da5f72 | 2021-04-24 16:30:50 -0700 | [diff] [blame^] | 14 | MOCK_METHOD(std::vector<std::uint8_t>, sendPacket, |
| 15 | (std::uint8_t, std::uint8_t, std::vector<std::uint8_t>&), |
| 16 | (override)); |
Patrick Venture | 123b5c0 | 2019-03-05 14:01:00 -0800 | [diff] [blame] | 17 | }; |
| 18 | |
Patrick Venture | 1470bec | 2019-03-06 07:33:12 -0800 | [diff] [blame] | 19 | } // namespace ipmiblob |