xref: /openbmc/telemetry/tests/src/mocks/trigger_action_mock.hpp (revision 1cdd7e4f89c75de7ec95ea545306e96ddf5a8a2b)
1 #pragma once
2 
3 #include "interfaces/trigger_action.hpp"
4 
5 #include <gmock/gmock.h>
6 
7 class TriggerActionMock : public interfaces::TriggerAction
8 {
9   public:
10     MOCK_METHOD(void, commit,
11                 (const std::string&, const ThresholdName, const std::string&,
12                  const Milliseconds, const TriggerValue),
13                 (override));
14 };
15