-
Notifications
You must be signed in to change notification settings - Fork 19
/
state_var_mock.go
50 lines (41 loc) · 1.9 KB
/
state_var_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
// Code generated by MockGen. DO NOT EDIT.
// Source: code.vegaprotocol.io/vega/core/monitor/price (interfaces: StateVarEngine)
// Package mocks is a generated GoMock package.
package mocks
import (
context "context"
reflect "reflect"
statevar "code.vegaprotocol.io/vega/core/types/statevar"
gomock "github.com/golang/mock/gomock"
)
// MockStateVarEngine is a mock of StateVarEngine interface.
type MockStateVarEngine struct {
ctrl *gomock.Controller
recorder *MockStateVarEngineMockRecorder
}
// MockStateVarEngineMockRecorder is the mock recorder for MockStateVarEngine.
type MockStateVarEngineMockRecorder struct {
mock *MockStateVarEngine
}
// NewMockStateVarEngine creates a new mock instance.
func NewMockStateVarEngine(ctrl *gomock.Controller) *MockStateVarEngine {
mock := &MockStateVarEngine{ctrl: ctrl}
mock.recorder = &MockStateVarEngineMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockStateVarEngine) EXPECT() *MockStateVarEngineMockRecorder {
return m.recorder
}
// RegisterStateVariable mocks base method.
func (m *MockStateVarEngine) RegisterStateVariable(arg0, arg1, arg2 string, arg3 statevar.Converter, arg4 func(string, statevar.FinaliseCalculation), arg5 []statevar.EventType, arg6 func(context.Context, statevar.StateVariableResult) error) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RegisterStateVariable", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
ret0, _ := ret[0].(error)
return ret0
}
// RegisterStateVariable indicates an expected call of RegisterStateVariable.
func (mr *MockStateVarEngineMockRecorder) RegisterStateVariable(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterStateVariable", reflect.TypeOf((*MockStateVarEngine)(nil).RegisterStateVariable), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
}