1 #pragma once 2 3 #include "interfaces.hpp" 4 5 #include <gmock/gmock.h> 6 7 namespace pid_control 8 { 9 10 class WriteInterfaceMock : public WriteInterface 11 { 12 public: 13 virtual ~WriteInterfaceMock() = default; 14 WriteInterfaceMock(int64_t min,int64_t max)15 WriteInterfaceMock(int64_t min, int64_t max) : WriteInterface(min, max) {} 16 17 MOCK_METHOD1(write, void(double)); 18 }; 19 20 } // namespace pid_control 21