blob: 6fbd87d87d24284175705c3739f1786f44e21521 [file] [log] [blame]
Patrick Venturea78e39f2018-11-06 18:37:06 -08001#pragma once
2
3#include "image_handler.hpp"
4
5#include <gmock/gmock.h>
6
7namespace blobs
8{
9
10class ImageHandlerMock : public ImageHandlerInterface
11{
12 public:
13 virtual ~ImageHandlerMock() = default;
14
15 MOCK_METHOD1(open, bool(const std::string&));
Patrick Venture400c6362018-11-06 20:06:11 -080016 MOCK_METHOD2(write, bool(std::uint32_t, const std::vector<std::uint8_t>&));
Patrick Venturea78e39f2018-11-06 18:37:06 -080017};
18
19} // namespace blobs