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