blob: ae8c9c72d7f6ac950086b44ea7192af82e78dad0 [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(writeMeta, bool(const std::vector<std::uint8_t>&));
MOCK_METHOD0(readMeta, std::vector<std::uint8_t>());
};
} // namespace blobs