blob: a52e4ea46ed88f2caa520d8095fd2eda0a6f9932 [file] [log] [blame]
Gilbert Cheneac61a42022-02-23 20:56:19 +00001#pragma once
2
3#include "platform-mc/sensor_manager.hpp"
4
5#include <gmock/gmock.h>
6
7namespace pldm
8{
9namespace platform_mc
10{
11
12class 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