1 #pragma once
2 
3 #include <gmock/gmock.h>
4 
5 #include "interfaces.hpp"
6 #include "sensors/sensor.hpp"
7 
8 class SensorMock : public Sensor
9 {
10     public:
11         virtual ~SensorMock() = default;
12 
13         SensorMock(const std::string& name, int64_t timeout)
14             : Sensor(name, timeout) {}
15 
16         MOCK_METHOD0(read, ReadReturn());
17         MOCK_METHOD1(write, void(double));
18 };
19