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 | a076487 | 2020-08-08 07:48:43 -0700 | [diff] [blame] | 7 | namespace pid_control |
8 | { | ||||
9 | |||||
Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 10 | class ReadInterfaceMock : public ReadInterface |
11 | { | ||||
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 12 | public: |
13 | virtual ~ReadInterfaceMock() = default; | ||||
Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 14 | |
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 15 | MOCK_METHOD0(read, ReadReturn()); |
Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 16 | }; |
Patrick Venture | a076487 | 2020-08-08 07:48:43 -0700 | [diff] [blame] | 17 | |
18 | } // namespace pid_control |