blob: 355609d41ca4b6dd32e9f161f4cc2192da61f232 [file] [log] [blame]
#pragma once
#include "requester/request.hpp"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
namespace pldm
{
namespace requester
{
class MockRequest : public RequestRetryTimer
{
public:
MockRequest(int /*fd*/, mctp_eid_t /*eid*/, sdeventplus::Event& event,
pldm::Request&& /*requestMsg*/, uint8_t numRetries,
std::chrono::milliseconds responseTimeOut, bool /*verbose*/) :
RequestRetryTimer(event, numRetries, responseTimeOut)
{}
MOCK_METHOD(int, send, (), (const, override));
};
} // namespace requester
} // namespace pldm