github.com/MetalBlockchain/metalgo@v1.11.9/vms/components/avax/mock_transferable_in.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/MetalBlockchain/metalgo/vms/components/avax (interfaces: TransferableIn) 3 // 4 // Generated by this command: 5 // 6 // mockgen -package=avax -destination=vms/components/avax/mock_transferable_in.go github.com/MetalBlockchain/metalgo/vms/components/avax TransferableIn 7 // 8 9 // Package avax is a generated GoMock package. 10 package avax 11 12 import ( 13 reflect "reflect" 14 15 snow "github.com/MetalBlockchain/metalgo/snow" 16 gomock "go.uber.org/mock/gomock" 17 ) 18 19 // MockTransferableIn is a mock of TransferableIn interface. 20 type MockTransferableIn struct { 21 ctrl *gomock.Controller 22 recorder *MockTransferableInMockRecorder 23 } 24 25 // MockTransferableInMockRecorder is the mock recorder for MockTransferableIn. 26 type MockTransferableInMockRecorder struct { 27 mock *MockTransferableIn 28 } 29 30 // NewMockTransferableIn creates a new mock instance. 31 func NewMockTransferableIn(ctrl *gomock.Controller) *MockTransferableIn { 32 mock := &MockTransferableIn{ctrl: ctrl} 33 mock.recorder = &MockTransferableInMockRecorder{mock} 34 return mock 35 } 36 37 // EXPECT returns an object that allows the caller to indicate expected use. 38 func (m *MockTransferableIn) EXPECT() *MockTransferableInMockRecorder { 39 return m.recorder 40 } 41 42 // Amount mocks base method. 43 func (m *MockTransferableIn) Amount() uint64 { 44 m.ctrl.T.Helper() 45 ret := m.ctrl.Call(m, "Amount") 46 ret0, _ := ret[0].(uint64) 47 return ret0 48 } 49 50 // Amount indicates an expected call of Amount. 51 func (mr *MockTransferableInMockRecorder) Amount() *gomock.Call { 52 mr.mock.ctrl.T.Helper() 53 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Amount", reflect.TypeOf((*MockTransferableIn)(nil).Amount)) 54 } 55 56 // Cost mocks base method. 57 func (m *MockTransferableIn) Cost() (uint64, error) { 58 m.ctrl.T.Helper() 59 ret := m.ctrl.Call(m, "Cost") 60 ret0, _ := ret[0].(uint64) 61 ret1, _ := ret[1].(error) 62 return ret0, ret1 63 } 64 65 // Cost indicates an expected call of Cost. 66 func (mr *MockTransferableInMockRecorder) Cost() *gomock.Call { 67 mr.mock.ctrl.T.Helper() 68 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Cost", reflect.TypeOf((*MockTransferableIn)(nil).Cost)) 69 } 70 71 // InitCtx mocks base method. 72 func (m *MockTransferableIn) InitCtx(arg0 *snow.Context) { 73 m.ctrl.T.Helper() 74 m.ctrl.Call(m, "InitCtx", arg0) 75 } 76 77 // InitCtx indicates an expected call of InitCtx. 78 func (mr *MockTransferableInMockRecorder) InitCtx(arg0 any) *gomock.Call { 79 mr.mock.ctrl.T.Helper() 80 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitCtx", reflect.TypeOf((*MockTransferableIn)(nil).InitCtx), arg0) 81 } 82 83 // Verify mocks base method. 84 func (m *MockTransferableIn) Verify() error { 85 m.ctrl.T.Helper() 86 ret := m.ctrl.Call(m, "Verify") 87 ret0, _ := ret[0].(error) 88 return ret0 89 } 90 91 // Verify indicates an expected call of Verify. 92 func (mr *MockTransferableInMockRecorder) Verify() *gomock.Call { 93 mr.mock.ctrl.T.Helper() 94 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Verify", reflect.TypeOf((*MockTransferableIn)(nil).Verify)) 95 }