blob: 3189e5b84e595452666711d93037a147847747a6 [file] [log] [blame]
Patrick Ventureaf696252018-12-11 10:22:14 -08001#pragma once
2
3#include "interface.hpp"
4
5#include <gmock/gmock.h>
6
Patrick Venture9b534f02018-12-13 16:10:02 -08007namespace host_tool
8{
9
Patrick Ventureaf696252018-12-11 10:22:14 -080010class DataInterfaceMock : public DataInterface
11{
12
13 public:
14 virtual ~DataInterfaceMock() = default;
15
16 MOCK_METHOD2(sendContents, bool(const std::string&, std::uint16_t));
Patrick Venture8a55dcb2018-12-12 21:12:58 -080017 MOCK_CONST_METHOD0(supportedType,
Patrick Venture1d5a31c2019-05-20 11:38:22 -070018 ipmi_flash::FirmwareBlobHandler::UpdateFlags());
Patrick Ventureaf696252018-12-11 10:22:14 -080019};
Patrick Venture9b534f02018-12-13 16:10:02 -080020
21} // namespace host_tool