github.com/ava-labs/avalanchego@v1.11.11/vms/platformvm/fx/fxmock/fx.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/ava-labs/avalanchego/vms/platformvm/fx (interfaces: Fx) 3 // 4 // Generated by this command: 5 // 6 // mockgen -package=fxmock -destination=vms/platformvm/fx/fxmock/fx.go -mock_names=Fx=Fx github.com/ava-labs/avalanchego/vms/platformvm/fx Fx 7 // 8 9 // Package fxmock is a generated GoMock package. 10 package fxmock 11 12 import ( 13 reflect "reflect" 14 15 gomock "go.uber.org/mock/gomock" 16 ) 17 18 // Fx is a mock of Fx interface. 19 type Fx struct { 20 ctrl *gomock.Controller 21 recorder *FxMockRecorder 22 } 23 24 // FxMockRecorder is the mock recorder for Fx. 25 type FxMockRecorder struct { 26 mock *Fx 27 } 28 29 // NewFx creates a new mock instance. 30 func NewFx(ctrl *gomock.Controller) *Fx { 31 mock := &Fx{ctrl: ctrl} 32 mock.recorder = &FxMockRecorder{mock} 33 return mock 34 } 35 36 // EXPECT returns an object that allows the caller to indicate expected use. 37 func (m *Fx) EXPECT() *FxMockRecorder { 38 return m.recorder 39 } 40 41 // Bootstrapped mocks base method. 42 func (m *Fx) Bootstrapped() error { 43 m.ctrl.T.Helper() 44 ret := m.ctrl.Call(m, "Bootstrapped") 45 ret0, _ := ret[0].(error) 46 return ret0 47 } 48 49 // Bootstrapped indicates an expected call of Bootstrapped. 50 func (mr *FxMockRecorder) Bootstrapped() *gomock.Call { 51 mr.mock.ctrl.T.Helper() 52 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bootstrapped", reflect.TypeOf((*Fx)(nil).Bootstrapped)) 53 } 54 55 // Bootstrapping mocks base method. 56 func (m *Fx) Bootstrapping() error { 57 m.ctrl.T.Helper() 58 ret := m.ctrl.Call(m, "Bootstrapping") 59 ret0, _ := ret[0].(error) 60 return ret0 61 } 62 63 // Bootstrapping indicates an expected call of Bootstrapping. 64 func (mr *FxMockRecorder) Bootstrapping() *gomock.Call { 65 mr.mock.ctrl.T.Helper() 66 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bootstrapping", reflect.TypeOf((*Fx)(nil).Bootstrapping)) 67 } 68 69 // CreateOutput mocks base method. 70 func (m *Fx) CreateOutput(arg0 uint64, arg1 any) (any, error) { 71 m.ctrl.T.Helper() 72 ret := m.ctrl.Call(m, "CreateOutput", arg0, arg1) 73 ret0, _ := ret[0].(any) 74 ret1, _ := ret[1].(error) 75 return ret0, ret1 76 } 77 78 // CreateOutput indicates an expected call of CreateOutput. 79 func (mr *FxMockRecorder) CreateOutput(arg0, arg1 any) *gomock.Call { 80 mr.mock.ctrl.T.Helper() 81 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOutput", reflect.TypeOf((*Fx)(nil).CreateOutput), arg0, arg1) 82 } 83 84 // Initialize mocks base method. 85 func (m *Fx) Initialize(arg0 any) error { 86 m.ctrl.T.Helper() 87 ret := m.ctrl.Call(m, "Initialize", arg0) 88 ret0, _ := ret[0].(error) 89 return ret0 90 } 91 92 // Initialize indicates an expected call of Initialize. 93 func (mr *FxMockRecorder) Initialize(arg0 any) *gomock.Call { 94 mr.mock.ctrl.T.Helper() 95 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Initialize", reflect.TypeOf((*Fx)(nil).Initialize), arg0) 96 } 97 98 // VerifyPermission mocks base method. 99 func (m *Fx) VerifyPermission(arg0, arg1, arg2, arg3 any) error { 100 m.ctrl.T.Helper() 101 ret := m.ctrl.Call(m, "VerifyPermission", arg0, arg1, arg2, arg3) 102 ret0, _ := ret[0].(error) 103 return ret0 104 } 105 106 // VerifyPermission indicates an expected call of VerifyPermission. 107 func (mr *FxMockRecorder) VerifyPermission(arg0, arg1, arg2, arg3 any) *gomock.Call { 108 mr.mock.ctrl.T.Helper() 109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyPermission", reflect.TypeOf((*Fx)(nil).VerifyPermission), arg0, arg1, arg2, arg3) 110 } 111 112 // VerifyTransfer mocks base method. 113 func (m *Fx) VerifyTransfer(arg0, arg1, arg2, arg3 any) error { 114 m.ctrl.T.Helper() 115 ret := m.ctrl.Call(m, "VerifyTransfer", arg0, arg1, arg2, arg3) 116 ret0, _ := ret[0].(error) 117 return ret0 118 } 119 120 // VerifyTransfer indicates an expected call of VerifyTransfer. 121 func (mr *FxMockRecorder) VerifyTransfer(arg0, arg1, arg2, arg3 any) *gomock.Call { 122 mr.mock.ctrl.T.Helper() 123 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyTransfer", reflect.TypeOf((*Fx)(nil).VerifyTransfer), arg0, arg1, arg2, arg3) 124 }