| Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |||||
| 3 | #include "interfaces.hpp" | ||||
| 4 | |||||
| Patrick Venture | 40be36a | 2018-08-29 15:57:11 -0700 | [diff] [blame^] | 5 | #include <gmock/gmock.h> |
| 6 | |||||
| Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 7 | class WriteInterfaceMock : public WriteInterface |
| 8 | { | ||||
| 9 | public: | ||||
| 10 | virtual ~WriteInterfaceMock() = default; | ||||
| 11 | |||||
| 12 | WriteInterfaceMock(int64_t min, int64_t max) | ||||
| 13 | : WriteInterface(min, max) {} | ||||
| 14 | |||||
| 15 | MOCK_METHOD1(write, void(double)); | ||||
| 16 | }; | ||||