1 #pragma once 2 3 #include "io_interface.hpp" 4 5 #include <gmock/gmock.h> 6 7 namespace host_tool 8 { 9 10 class HostIoInterfaceMock : public HostIoInterface 11 { 12 public: 13 ~HostIoInterfaceMock() = default; 14 15 MOCK_METHOD(bool, read, (const std::size_t, const std::size_t, void* const), 16 (override)); 17 MOCK_METHOD(bool, write, 18 (const std::size_t, const std::size_t, const void* const), 19 (override)); 20 }; 21 22 } // namespace host_tool 23