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