blob: 9d24d3cdf5bc1eaeca3c6044d5f21005565b0339 [file] [log] [blame]
Patrick Venturecaaebd12019-06-21 14:56:07 -07001#pragma once
2
3#include "hwmonio.hpp"
4
5#include <string>
6
7#include <gmock/gmock.h>
8
9namespace hwmonio
10{
11
12class 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