blob: 44c3aae5b040f9c2cc94bf63e4031534d8b9594e [file] [log] [blame]
#pragma once
#include "data_handler.hpp"
#include <gmock/gmock.h>
namespace blobs
{
class DataHandlerMock : public DataInterface
{
public:
virtual ~DataHandlerMock() = default;
MOCK_METHOD0(open, bool());
MOCK_METHOD0(close, bool());
MOCK_METHOD1(copyFrom, std::vector<std::uint8_t>(std::uint32_t));
MOCK_METHOD1(write, bool(const std::vector<std::uint8_t>&));
MOCK_METHOD0(read, std::vector<std::uint8_t>());
};
} // namespace blobs