blob: 8259aa93166dbb4dc58fc60fff6e837281b6ceba [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 Venture68bb1432018-11-09 20:08:48 -080016 MOCK_METHOD0(close, void());
Patrick Venture400c6362018-11-06 20:06:11 -080017 MOCK_METHOD2(write, bool(std::uint32_t, const std::vector<std::uint8_t>&));
Patrick Venturea78e39f2018-11-06 18:37:06 -080018};
19
20} // namespace blobs