/
types_invariant.go
46 lines (38 loc) · 1.56 KB
/
types_invariant.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
// Code generated by MockGen. DO NOT EDIT.
// Source: types/invariant.go
// Package mocks is a generated GoMock package.
package mocks
import (
types "github.com/cosmos/cosmos-sdk/types"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockInvariantRegistry is a mock of InvariantRegistry interface
type MockInvariantRegistry struct {
ctrl *gomock.Controller
recorder *MockInvariantRegistryMockRecorder
}
// MockInvariantRegistryMockRecorder is the mock recorder for MockInvariantRegistry
type MockInvariantRegistryMockRecorder struct {
mock *MockInvariantRegistry
}
// NewMockInvariantRegistry creates a new mock instance
func NewMockInvariantRegistry(ctrl *gomock.Controller) *MockInvariantRegistry {
mock := &MockInvariantRegistry{ctrl: ctrl}
mock.recorder = &MockInvariantRegistryMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockInvariantRegistry) EXPECT() *MockInvariantRegistryMockRecorder {
return m.recorder
}
// RegisterRoute mocks base method
func (m *MockInvariantRegistry) RegisterRoute(moduleName, route string, invar types.Invariant) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "RegisterRoute", moduleName, route, invar)
}
// RegisterRoute indicates an expected call of RegisterRoute
func (mr *MockInvariantRegistryMockRecorder) RegisterRoute(moduleName, route, invar interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterRoute", reflect.TypeOf((*MockInvariantRegistry)(nil).RegisterRoute), moduleName, route, invar)
}