github.com/Finschia/finschia-sdk@v0.48.1/x/stakingplus/testutil/expected_keepers_mocks.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: x/stakingplus/expected_keepers.go 3 4 // Package testutil is a generated GoMock package. 5 package testutil 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 // MockFoundationKeeper is a mock of FoundationKeeper interface. 15 type MockFoundationKeeper struct { 16 ctrl *gomock.Controller 17 recorder *MockFoundationKeeperMockRecorder 18 } 19 20 // MockFoundationKeeperMockRecorder is the mock recorder for MockFoundationKeeper. 21 type MockFoundationKeeperMockRecorder struct { 22 mock *MockFoundationKeeper 23 } 24 25 // NewMockFoundationKeeper creates a new mock instance. 26 func NewMockFoundationKeeper(ctrl *gomock.Controller) *MockFoundationKeeper { 27 mock := &MockFoundationKeeper{ctrl: ctrl} 28 mock.recorder = &MockFoundationKeeperMockRecorder{mock} 29 return mock 30 } 31 32 // EXPECT returns an object that allows the caller to indicate expected use. 33 func (m *MockFoundationKeeper) EXPECT() *MockFoundationKeeperMockRecorder { 34 return m.recorder 35 } 36 37 // Accept mocks base method. 38 func (m *MockFoundationKeeper) Accept(ctx types.Context, grantee types.AccAddress, msg types.Msg) error { 39 m.ctrl.T.Helper() 40 ret := m.ctrl.Call(m, "Accept", ctx, grantee, msg) 41 ret0, _ := ret[0].(error) 42 return ret0 43 } 44 45 // Accept indicates an expected call of Accept. 46 func (mr *MockFoundationKeeperMockRecorder) Accept(ctx, grantee, msg interface{}) *gomock.Call { 47 mr.mock.ctrl.T.Helper() 48 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Accept", reflect.TypeOf((*MockFoundationKeeper)(nil).Accept), ctx, grantee, msg) 49 }