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