github.com/cosmos/cosmos-sdk@v0.50.10/x/crisis/testutil/expected_keepers_mocks.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: x/crisis/types/expected_keepers.go 3 4 // Package testutil is a generated GoMock package. 5 package testutil 6 7 import ( 8 context "context" 9 reflect "reflect" 10 11 types "github.com/cosmos/cosmos-sdk/types" 12 gomock "github.com/golang/mock/gomock" 13 ) 14 15 // MockSupplyKeeper is a mock of SupplyKeeper interface. 16 type MockSupplyKeeper struct { 17 ctrl *gomock.Controller 18 recorder *MockSupplyKeeperMockRecorder 19 } 20 21 // MockSupplyKeeperMockRecorder is the mock recorder for MockSupplyKeeper. 22 type MockSupplyKeeperMockRecorder struct { 23 mock *MockSupplyKeeper 24 } 25 26 // NewMockSupplyKeeper creates a new mock instance. 27 func NewMockSupplyKeeper(ctrl *gomock.Controller) *MockSupplyKeeper { 28 mock := &MockSupplyKeeper{ctrl: ctrl} 29 mock.recorder = &MockSupplyKeeperMockRecorder{mock} 30 return mock 31 } 32 33 // EXPECT returns an object that allows the caller to indicate expected use. 34 func (m *MockSupplyKeeper) EXPECT() *MockSupplyKeeperMockRecorder { 35 return m.recorder 36 } 37 38 // SendCoinsFromAccountToModule mocks base method. 39 func (m *MockSupplyKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error { 40 m.ctrl.T.Helper() 41 ret := m.ctrl.Call(m, "SendCoinsFromAccountToModule", ctx, senderAddr, recipientModule, amt) 42 ret0, _ := ret[0].(error) 43 return ret0 44 } 45 46 // SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule. 47 func (mr *MockSupplyKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call { 48 mr.mock.ctrl.T.Helper() 49 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendCoinsFromAccountToModule", reflect.TypeOf((*MockSupplyKeeper)(nil).SendCoinsFromAccountToModule), ctx, senderAddr, recipientModule, amt) 50 }