blob: a533a320a10359f31ea4046fdf219a45b9e32a08 [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{
Patrick Ventureaf696252018-12-11 10:22:14 -080012 public:
13 virtual ~DataInterfaceMock() = default;
14
Willy Tuf4504862021-04-24 23:22:19 -070015 MOCK_METHOD(bool, sendContents, (const std::string&, std::uint16_t),
16 (override));
17 MOCK_METHOD(ipmi_flash::FirmwareFlags::UpdateFlags, supportedType, (),
18 (const, override));
Patrick Ventureaf696252018-12-11 10:22:14 -080019};
Patrick Venture9b534f02018-12-13 16:10:02 -080020
21} // namespace host_tool