blob: 0ee799b09bbf15f4db50487742448ca4d1668e9f [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 Venture84778b82019-06-26 20:11:09 -070017 MOCK_CONST_METHOD0(supportedType, ipmi_flash::FirmwareFlags::UpdateFlags());
Patrick Ventureaf696252018-12-11 10:22:14 -080018};
Patrick Venture9b534f02018-12-13 16:10:02 -080019
20} // namespace host_tool