mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
17 lines
381 B
C++
17 lines
381 B
C++
#pragma once
|
|
|
|
#include "data/LedgerHeaderCache.hpp"
|
|
|
|
#include <gmock/gmock.h>
|
|
#include <xrpl/protocol/LedgerHeader.h>
|
|
|
|
#include <optional>
|
|
|
|
struct MockLedgerHeaderCache {
|
|
MockLedgerHeaderCache() = default;
|
|
using CacheEntry = data::FetchLedgerCache::CacheEntry;
|
|
|
|
MOCK_METHOD(void, put, (CacheEntry), ());
|
|
MOCK_METHOD(std::optional<CacheEntry>, get, (), (const));
|
|
};
|