mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 11:45:53 +00:00
Implement basic transformer tests (#689)
This commit is contained in:
@@ -19,13 +19,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <util/FakeFetchResponse.h>
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
#include <optional>
|
||||
|
||||
template <typename DataType>
|
||||
struct MockLedgerFetcher
|
||||
{
|
||||
MOCK_METHOD(std::optional<DataType>, fetchData, (uint32_t), ());
|
||||
MOCK_METHOD(std::optional<DataType>, fetchDataAndDiff, (uint32_t), ());
|
||||
MOCK_METHOD(std::optional<FakeFetchResponse>, fetchData, (uint32_t), ());
|
||||
MOCK_METHOD(std::optional<FakeFetchResponse>, fetchDataAndDiff, (uint32_t), ());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user