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 MOCK_METHOD(void, thermalAlert, (bool), (override)); 16 }; 17 18 } // namespace phosphor::fan::monitor 19