198055435SPatrick Venture #pragma once 298055435SPatrick Venture 398055435SPatrick Venture #include "interfaces.hpp" 498055435SPatrick Venture #include "sensors/sensor.hpp" 598055435SPatrick Venture 6*da4a5dd1SPatrick Venture #include <gmock/gmock.h> 7*da4a5dd1SPatrick Venture 898055435SPatrick Venture class SensorMock : public Sensor 998055435SPatrick Venture { 1098055435SPatrick Venture public: 1198055435SPatrick Venture virtual ~SensorMock() = default; 1298055435SPatrick Venture 13*da4a5dd1SPatrick Venture SensorMock(const std::string& name, int64_t timeout) : Sensor(name, timeout) 14*da4a5dd1SPatrick Venture { 15*da4a5dd1SPatrick Venture } 1698055435SPatrick Venture 1798055435SPatrick Venture MOCK_METHOD0(read, ReadReturn()); 1898055435SPatrick Venture MOCK_METHOD1(write, void(double)); 1998055435SPatrick Venture }; 20