#pragma once #include "data_handler.hpp" #include namespace ipmi_flash { class DataHandlerMock : public DataInterface { public: virtual ~DataHandlerMock() = default; MOCK_METHOD(bool, open, (), (override)); MOCK_METHOD(bool, close, (), (override)); MOCK_METHOD(std::vector, copyFrom, (std::uint32_t), (override)); MOCK_METHOD(bool, writeMeta, (const std::vector&), (override)); MOCK_METHOD(std::vector, readMeta, (), (override)); }; } // namespace ipmi_flash