github.com/Finschia/finschia-sdk@v0.48.1/tests/mocks/types_invariant.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: types/invariant.go 3 4 // Package mocks is a generated GoMock package. 5 package mocks 6 7 import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11 types "github.com/Finschia/finschia-sdk/types" 12 ) 13 14 // MockInvariantRegistry is a mock of InvariantRegistry interface. 15 type MockInvariantRegistry struct { 16 ctrl *gomock.Controller 17 recorder *MockInvariantRegistryMockRecorder 18 } 19 20 // MockInvariantRegistryMockRecorder is the mock recorder for MockInvariantRegistry. 21 type MockInvariantRegistryMockRecorder struct { 22 mock *MockInvariantRegistry 23 } 24 25 // NewMockInvariantRegistry creates a new mock instance. 26 func NewMockInvariantRegistry(ctrl *gomock.Controller) *MockInvariantRegistry { 27 mock := &MockInvariantRegistry{ctrl: ctrl} 28 mock.recorder = &MockInvariantRegistryMockRecorder{mock} 29 return mock 30 } 31 32 // EXPECT returns an object that allows the caller to indicate expected use. 33 func (m *MockInvariantRegistry) EXPECT() *MockInvariantRegistryMockRecorder { 34 return m.recorder 35 } 36 37 // RegisterRoute mocks base method. 38 func (m *MockInvariantRegistry) RegisterRoute(moduleName, route string, invar types.Invariant) { 39 m.ctrl.T.Helper() 40 m.ctrl.Call(m, "RegisterRoute", moduleName, route, invar) 41 } 42 43 // RegisterRoute indicates an expected call of RegisterRoute. 44 func (mr *MockInvariantRegistryMockRecorder) RegisterRoute(moduleName, route, invar interface{}) *gomock.Call { 45 mr.mock.ctrl.T.Helper() 46 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterRoute", reflect.TypeOf((*MockInvariantRegistry)(nil).RegisterRoute), moduleName, route, invar) 47 }