1 #pragma once 2 3 #include "platform-mc/sensor_manager.hpp" 4 5 #include <gmock/gmock.h> 6 7 namespace pldm 8 { 9 namespace platform_mc 10 { 11 12 class MockSensorManager : public SensorManager 13 { 14 public: 15 MockSensorManager(sdeventplus::Event& event, 16 TerminusManager& terminusManager, 17 TerminiMapper& termini) : 18 SensorManager(event, terminusManager, termini) {}; 19 20 MOCK_METHOD(void, doSensorPolling, (pldm_tid_t tid), (override)); 21 }; 22 23 } // namespace platform_mc 24 } // namespace pldm 25