blob: 3e8f24abb737f2118f2f2c948170c950de008a7a [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,
18 blobs::FirmwareBlobHandler::UpdateFlags());
Patrick Ventureaf696252018-12-11 10:22:14 -080019};
Patrick Venture9b534f02018-12-13 16:10:02 -080020
21} // namespace host_tool