1 #pragma once 2 3 #include "pid/zone.hpp" 4 5 #include <string> 6 7 #include <gmock/gmock.h> 8 9 class ZoneMock : public ZoneInterface 10 { 11 public: 12 virtual ~ZoneMock() = default; 13 14 MOCK_METHOD1(getCachedValue, double(const std::string&)); 15 MOCK_METHOD1(addRPMSetPoint, void(double)); 16 MOCK_CONST_METHOD0(getMaxRPMRequest, double()); 17 MOCK_CONST_METHOD0(getFailSafeMode, bool()); 18 MOCK_CONST_METHOD0(getFailSafePercent, double()); 19 MOCK_METHOD1(getSensor, Sensor*(const std::string&)); 20 }; 21