blob: a79c56281c5b3e284684734beff33e24d79af4cf [file] [log] [blame]
Patrick Venture1cde5f92018-11-07 08:26:47 -08001#pragma once
2
3#include "data_handler.hpp"
4
5#include <gmock/gmock.h>
6
7namespace blobs
8{
9
10class DataHandlerMock : public DataInterface
11{
12 public:
13 virtual ~DataHandlerMock() = default;
14
15 MOCK_METHOD1(copyFrom, std::vector<std::uint8_t>(std::uint32_t));
Patrick Venture8c535332018-11-08 15:58:00 -080016 MOCK_METHOD1(write, bool(const std::vector<std::uint8_t>&));
17 MOCK_METHOD0(read, std::vector<std::uint8_t>());
Patrick Venture1cde5f92018-11-07 08:26:47 -080018};
19
20} // namespace blobs