1 #pragma once
2 
3 #include "pid/controller.hpp"
4 
5 #include <gmock/gmock.h>
6 
7 class ControllerMock : public PIDController
8 {
9   public:
10     virtual ~ControllerMock() = default;
11 
12     ControllerMock(const std::string& id, PIDZone* owner) :
13         PIDController(id, owner)
14     {
15     }
16 
17     MOCK_METHOD0(inputProc, float());
18     MOCK_METHOD0(setptProc, float());
19     MOCK_METHOD1(outputProc, void(float));
20 };
21