1 #pragma once
2 
3 #include "common/transport.hpp"
4 #include "requester/request.hpp"
5 
6 #include <libpldm/transport.h>
7 
8 #include <gmock/gmock.h>
9 #include <gtest/gtest.h>
10 
11 namespace pldm
12 {
13 
14 namespace requester
15 {
16 
17 class MockRequest : public RequestRetryTimer
18 {
19   public:
20     MockRequest(PldmTransport* /*pldmTransport*/, mctp_eid_t /*eid*/,
21                 sdeventplus::Event& event, pldm::Request&& /*requestMsg*/,
22                 uint8_t numRetries, std::chrono::milliseconds responseTimeOut,
23                 bool /*verbose*/) :
24         RequestRetryTimer(event, numRetries, responseTimeOut)
25     {}
26 
27     MOCK_METHOD(int, send, (), (const, override));
28 };
29 
30 } // namespace requester
31 
32 } // namespace pldm
33