This repository has been archived by the owner on May 10, 2023. It is now read-only.
/
store_mock.go
63 lines (53 loc) · 1.91 KB
/
store_mock.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Code generated by MockGen. DO NOT EDIT.
// Source: code.vegaprotocol.io/go-wallet/config (interfaces: Store)
// Package mocks is a generated GoMock package.
package mocks
import (
config "code.vegaprotocol.io/go-wallet/config"
wallet "code.vegaprotocol.io/go-wallet/wallet"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockStore is a mock of Store interface
type MockStore struct {
ctrl *gomock.Controller
recorder *MockStoreMockRecorder
}
// MockStoreMockRecorder is the mock recorder for MockStore
type MockStoreMockRecorder struct {
mock *MockStore
}
// NewMockStore creates a new mock instance
func NewMockStore(ctrl *gomock.Controller) *MockStore {
mock := &MockStore{ctrl: ctrl}
mock.recorder = &MockStoreMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockStore) EXPECT() *MockStoreMockRecorder {
return m.recorder
}
// SaveConfig mocks base method
func (m *MockStore) SaveConfig(arg0 *config.Config, arg1 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SaveConfig", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// SaveConfig indicates an expected call of SaveConfig
func (mr *MockStoreMockRecorder) SaveConfig(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SaveConfig", reflect.TypeOf((*MockStore)(nil).SaveConfig), arg0, arg1)
}
// SaveRSAKeys mocks base method
func (m *MockStore) SaveRSAKeys(arg0 *wallet.RSAKeys, arg1 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SaveRSAKeys", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// SaveRSAKeys indicates an expected call of SaveRSAKeys
func (mr *MockStoreMockRecorder) SaveRSAKeys(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SaveRSAKeys", reflect.TypeOf((*MockStore)(nil).SaveRSAKeys), arg0, arg1)
}