1 #pragma once 2 3 #include "window_hw_interface.hpp" 4 5 #include <cstdint> 6 #include <utility> 7 #include <vector> 8 9 #include <gmock/gmock.h> 10 11 namespace ipmi_flash 12 { 13 14 class HardwareInterfaceMock : public HardwareMapperInterface 15 { 16 public: 17 virtual ~HardwareInterfaceMock() = default; 18 19 MOCK_METHOD0(open, MemorySet()); 20 MOCK_METHOD0(close, ()); 21 MOCK_METHOD2(mapWindow, WindowMapResult(std::uint32_t, std::uint32_t)); 22 }; 23 24 } // namespace ipmi_flash 25