blob: 2cc8d28c61fc8a4d30393b26e33e7af06901cdbc [file] [log] [blame]
#pragma once
#include "interfaces.hpp"
#include "sensors/sensor.hpp"
#include <gmock/gmock.h>
class SensorMock : public Sensor
{
public:
virtual ~SensorMock() = default;
SensorMock(const std::string& name, int64_t timeout) : Sensor(name, timeout)
{
}
MOCK_METHOD0(read, ReadReturn());
MOCK_METHOD1(write, void(double));
};