Matt Spinler | f06ab07 | 2020-10-14 12:58:22 -0500 | [diff] [blame^] | 1 | #pragma once |
2 | |||||
3 | #include "../power_interface.hpp" | ||||
4 | |||||
5 | #include <gmock/gmock.h> | ||||
6 | |||||
7 | namespace phosphor::fan::monitor | ||||
8 | { | ||||
9 | |||||
10 | class MockPowerInterface : public PowerInterfaceBase | ||||
11 | { | ||||
12 | public: | ||||
13 | MOCK_METHOD(void, softPowerOff, (), (override)); | ||||
14 | MOCK_METHOD(void, hardPowerOff, (), (override)); | ||||
15 | }; | ||||
16 | |||||
17 | } // namespace phosphor::fan::monitor |