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(addSetPoint, void(double));
16     MOCK_METHOD1(addRPMCeiling, void(double));
17     MOCK_CONST_METHOD0(getMaxSetPointRequest, double());
18     MOCK_CONST_METHOD0(getFailSafeMode, bool());
19     MOCK_CONST_METHOD0(getFailSafePercent, double());
20     MOCK_METHOD1(getSensor, Sensor*(const std::string&));
21 };
22