| Patrick Venture | af69625 | 2018-12-11 10:22:14 -0800 | [diff] [blame] | 1 | #pragma once | 
|  | 2 |  | 
|  | 3 | #include "interface.hpp" | 
|  | 4 |  | 
|  | 5 | #include <gmock/gmock.h> | 
|  | 6 |  | 
|  | 7 | class DataInterfaceMock : public DataInterface | 
|  | 8 | { | 
|  | 9 |  | 
|  | 10 | public: | 
|  | 11 | virtual ~DataInterfaceMock() = default; | 
|  | 12 |  | 
|  | 13 | MOCK_METHOD2(sendContents, bool(const std::string&, std::uint16_t)); | 
| Patrick Venture | 8a55dcb | 2018-12-12 21:12:58 -0800 | [diff] [blame] | 14 | MOCK_CONST_METHOD0(supportedType, | 
|  | 15 | blobs::FirmwareBlobHandler::UpdateFlags()); | 
| Patrick Venture | af69625 | 2018-12-11 10:22:14 -0800 | [diff] [blame] | 16 | }; |