1380832ccSPatrick Venture #pragma once 2380832ccSPatrick Venture 3380832ccSPatrick Venture #include "interface.hpp" 4380832ccSPatrick Venture 5380832ccSPatrick Venture #include <gmock/gmock.h> 6380832ccSPatrick Venture 7380832ccSPatrick Venture namespace host_tool 8380832ccSPatrick Venture { 9380832ccSPatrick Venture 10380832ccSPatrick Venture class DataInterfaceMock : public DataInterface 11380832ccSPatrick Venture { 12380832ccSPatrick Venture public: 13380832ccSPatrick Venture virtual ~DataInterfaceMock() = default; 14380832ccSPatrick Venture 15f450486fSWilly Tu MOCK_METHOD(bool, sendContents, (const std::string&, std::uint16_t), 16f450486fSWilly Tu (override)); 17*3f596287SWilly Tu MOCK_METHOD(void, waitForRetry, (), (override)); 18f450486fSWilly Tu MOCK_METHOD(ipmi_flash::FirmwareFlags::UpdateFlags, supportedType, (), 19f450486fSWilly Tu (const, override)); 20380832ccSPatrick Venture }; 21380832ccSPatrick Venture 22380832ccSPatrick Venture } // namespace host_tool 23