blob: 6801751affaf9a227a810e8eaa8dba010d35f273 [file] [log] [blame]
Matt Spinlerf06ab072020-10-14 12:58:22 -05001#pragma once
2
3#include "../power_interface.hpp"
4
5#include <gmock/gmock.h>
6
7namespace phosphor::fan::monitor
8{
9
10class MockPowerInterface : public PowerInterfaceBase
11{
12 public:
13 MOCK_METHOD(void, softPowerOff, (), (override));
14 MOCK_METHOD(void, hardPowerOff, (), (override));
Matt Spinlerba3ee9a2021-01-06 14:45:50 -060015 MOCK_METHOD(void, thermalAlert, (bool), (override));
Matt Spinlerf06ab072020-10-14 12:58:22 -050016};
17
18} // namespace phosphor::fan::monitor