1 #pragma once 2 3 #include "platform-mc/event_manager.hpp" 4 5 #include <gmock/gmock.h> 6 7 namespace pldm 8 { 9 namespace platform_mc 10 { 11 12 class MockEventManager : public EventManager 13 { 14 public: 15 MockEventManager(TerminusManager& terminusManager, TerminiMapper& termini) : 16 EventManager(terminusManager, termini) {}; 17 18 MOCK_METHOD(int, processCperEvent, 19 (pldm_tid_t tid, uint16_t eventId, const uint8_t* eventData, 20 size_t eventDataSize), 21 (override)); 22 }; 23 24 } // namespace platform_mc 25 } // namespace pldm 26