blob: 8dbf24acddf7306af665df931e3859fb9dfec775 [file] [log] [blame]
Patrick Venturea58197c2018-06-11 15:29:45 -07001#pragma once
2
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07003#include "pid/zone.hpp"
4
Patrick Venturea58197c2018-06-11 15:29:45 -07005#include <string>
6
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07007#include <gmock/gmock.h>
Patrick Venturea58197c2018-06-11 15:29:45 -07008
9class ZoneMock : public ZoneInterface
10{
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070011 public:
12 virtual ~ZoneMock() = default;
Patrick Venturea58197c2018-06-11 15:29:45 -070013
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070014 MOCK_METHOD1(getCachedValue, double(const std::string&));
15 MOCK_METHOD1(addRPMSetPoint, void(float));
16 MOCK_CONST_METHOD0(getMaxRPMRequest, float());
17 MOCK_CONST_METHOD0(getFailSafeMode, bool());
18 MOCK_CONST_METHOD0(getFailSafePercent, float());
19 MOCK_METHOD1(getSensor, Sensor*(std::string));
Patrick Venturea58197c2018-06-11 15:29:45 -070020};