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)); |
Matt Spinler | ba3ee9a | 2021-01-06 14:45:50 -0600 | [diff] [blame] | 15 | MOCK_METHOD(void, thermalAlert, (bool), (override)); |
Matt Spinler | f06ab07 | 2020-10-14 12:58:22 -0500 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | } // namespace phosphor::fan::monitor |