1 #pragma once 2 3 #include "interface.hpp" 4 5 #include <gmock/gmock.h> 6 7 namespace host_tool 8 { 9 10 class DataInterfaceMock : public DataInterface 11 { 12 13 public: 14 virtual ~DataInterfaceMock() = default; 15 16 MOCK_METHOD2(sendContents, bool(const std::string&, std::uint16_t)); 17 MOCK_CONST_METHOD0(supportedType, ipmi_flash::FirmwareFlags::UpdateFlags()); 18 }; 19 20 } // namespace host_tool 21