1 #pragma once 2 3 #include "hwmonio.hpp" 4 5 #include <string> 6 7 #include <gmock/gmock.h> 8 9 namespace hwmonio 10 { 11 12 class FileSystemMock : public FileSystemInterface 13 { 14 public: 15 MOCK_CONST_METHOD1(read, int64_t(const std::string&)); 16 MOCK_CONST_METHOD2(write, void(const std::string&, uint32_t)); 17 }; 18 19 } // namespace hwmonio 20