blob: 363eb9eb1cf510f86c6d8508f40265720120f8da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include <vector>
#include <string>
#include <optional>
#include <gmock/gmock.h>
#include <mw/error.hpp>
#include "data.hpp"
class DataSourceMock : public DataSourceInterface
{
public:
~DataSourceMock() override = default;
MOCK_METHOD(mw::E<int64_t>, getSchemaVersion, (), (const override));
protected:
mw::E<void> setSchemaVersion([[maybe_unused]] int64_t v) const override
{
return {};
}
};
|