mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-04 01:06:45 +00:00
15 lines
394 B
C++
15 lines
394 B
C++
#pragma once
|
|
|
|
#include "etl/LedgerFetcherInterface.hpp"
|
|
#include "util/FakeFetchResponse.hpp"
|
|
|
|
#include <gmock/gmock.h>
|
|
|
|
#include <cstdint>
|
|
#include <optional>
|
|
|
|
struct MockLedgerFetcher : etl::LedgerFetcherInterface {
|
|
MOCK_METHOD(OptionalGetLedgerResponseType, fetchData, (uint32_t), (override));
|
|
MOCK_METHOD(OptionalGetLedgerResponseType, fetchDataAndDiff, (uint32_t), (override));
|
|
};
|