github.com/MetalBlockchain/metalgo@v1.11.9/vms/platformvm/fx/mock_fx.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/MetalBlockchain/metalgo/vms/platformvm/fx (interfaces: Fx,Owner)
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -package=fx -destination=vms/platformvm/fx/mock_fx.go github.com/MetalBlockchain/metalgo/vms/platformvm/fx Fx,Owner
     7  //
     8  
     9  // Package fx is a generated GoMock package.
    10  package fx
    11  
    12  import (
    13  	reflect "reflect"
    14  
    15  	snow "github.com/MetalBlockchain/metalgo/snow"
    16  	verify "github.com/MetalBlockchain/metalgo/vms/components/verify"
    17  	gomock "go.uber.org/mock/gomock"
    18  )
    19  
    20  // MockFx is a mock of Fx interface.
    21  type MockFx struct {
    22  	ctrl     *gomock.Controller
    23  	recorder *MockFxMockRecorder
    24  }
    25  
    26  // MockFxMockRecorder is the mock recorder for MockFx.
    27  type MockFxMockRecorder struct {
    28  	mock *MockFx
    29  }
    30  
    31  // NewMockFx creates a new mock instance.
    32  func NewMockFx(ctrl *gomock.Controller) *MockFx {
    33  	mock := &MockFx{ctrl: ctrl}
    34  	mock.recorder = &MockFxMockRecorder{mock}
    35  	return mock
    36  }
    37  
    38  // EXPECT returns an object that allows the caller to indicate expected use.
    39  func (m *MockFx) EXPECT() *MockFxMockRecorder {
    40  	return m.recorder
    41  }
    42  
    43  // Bootstrapped mocks base method.
    44  func (m *MockFx) Bootstrapped() error {
    45  	m.ctrl.T.Helper()
    46  	ret := m.ctrl.Call(m, "Bootstrapped")
    47  	ret0, _ := ret[0].(error)
    48  	return ret0
    49  }
    50  
    51  // Bootstrapped indicates an expected call of Bootstrapped.
    52  func (mr *MockFxMockRecorder) Bootstrapped() *gomock.Call {
    53  	mr.mock.ctrl.T.Helper()
    54  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bootstrapped", reflect.TypeOf((*MockFx)(nil).Bootstrapped))
    55  }
    56  
    57  // Bootstrapping mocks base method.
    58  func (m *MockFx) Bootstrapping() error {
    59  	m.ctrl.T.Helper()
    60  	ret := m.ctrl.Call(m, "Bootstrapping")
    61  	ret0, _ := ret[0].(error)
    62  	return ret0
    63  }
    64  
    65  // Bootstrapping indicates an expected call of Bootstrapping.
    66  func (mr *MockFxMockRecorder) Bootstrapping() *gomock.Call {
    67  	mr.mock.ctrl.T.Helper()
    68  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bootstrapping", reflect.TypeOf((*MockFx)(nil).Bootstrapping))
    69  }
    70  
    71  // CreateOutput mocks base method.
    72  func (m *MockFx) CreateOutput(arg0 uint64, arg1 any) (any, error) {
    73  	m.ctrl.T.Helper()
    74  	ret := m.ctrl.Call(m, "CreateOutput", arg0, arg1)
    75  	ret0, _ := ret[0].(any)
    76  	ret1, _ := ret[1].(error)
    77  	return ret0, ret1
    78  }
    79  
    80  // CreateOutput indicates an expected call of CreateOutput.
    81  func (mr *MockFxMockRecorder) CreateOutput(arg0, arg1 any) *gomock.Call {
    82  	mr.mock.ctrl.T.Helper()
    83  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOutput", reflect.TypeOf((*MockFx)(nil).CreateOutput), arg0, arg1)
    84  }
    85  
    86  // Initialize mocks base method.
    87  func (m *MockFx) Initialize(arg0 any) error {
    88  	m.ctrl.T.Helper()
    89  	ret := m.ctrl.Call(m, "Initialize", arg0)
    90  	ret0, _ := ret[0].(error)
    91  	return ret0
    92  }
    93  
    94  // Initialize indicates an expected call of Initialize.
    95  func (mr *MockFxMockRecorder) Initialize(arg0 any) *gomock.Call {
    96  	mr.mock.ctrl.T.Helper()
    97  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Initialize", reflect.TypeOf((*MockFx)(nil).Initialize), arg0)
    98  }
    99  
   100  // VerifyPermission mocks base method.
   101  func (m *MockFx) VerifyPermission(arg0, arg1, arg2, arg3 any) error {
   102  	m.ctrl.T.Helper()
   103  	ret := m.ctrl.Call(m, "VerifyPermission", arg0, arg1, arg2, arg3)
   104  	ret0, _ := ret[0].(error)
   105  	return ret0
   106  }
   107  
   108  // VerifyPermission indicates an expected call of VerifyPermission.
   109  func (mr *MockFxMockRecorder) VerifyPermission(arg0, arg1, arg2, arg3 any) *gomock.Call {
   110  	mr.mock.ctrl.T.Helper()
   111  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyPermission", reflect.TypeOf((*MockFx)(nil).VerifyPermission), arg0, arg1, arg2, arg3)
   112  }
   113  
   114  // VerifyTransfer mocks base method.
   115  func (m *MockFx) VerifyTransfer(arg0, arg1, arg2, arg3 any) error {
   116  	m.ctrl.T.Helper()
   117  	ret := m.ctrl.Call(m, "VerifyTransfer", arg0, arg1, arg2, arg3)
   118  	ret0, _ := ret[0].(error)
   119  	return ret0
   120  }
   121  
   122  // VerifyTransfer indicates an expected call of VerifyTransfer.
   123  func (mr *MockFxMockRecorder) VerifyTransfer(arg0, arg1, arg2, arg3 any) *gomock.Call {
   124  	mr.mock.ctrl.T.Helper()
   125  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyTransfer", reflect.TypeOf((*MockFx)(nil).VerifyTransfer), arg0, arg1, arg2, arg3)
   126  }
   127  
   128  // MockOwner is a mock of Owner interface.
   129  type MockOwner struct {
   130  	verify.IsNotState
   131  
   132  	ctrl     *gomock.Controller
   133  	recorder *MockOwnerMockRecorder
   134  }
   135  
   136  // MockOwnerMockRecorder is the mock recorder for MockOwner.
   137  type MockOwnerMockRecorder struct {
   138  	mock *MockOwner
   139  }
   140  
   141  // NewMockOwner creates a new mock instance.
   142  func NewMockOwner(ctrl *gomock.Controller) *MockOwner {
   143  	mock := &MockOwner{ctrl: ctrl}
   144  	mock.recorder = &MockOwnerMockRecorder{mock}
   145  	return mock
   146  }
   147  
   148  // EXPECT returns an object that allows the caller to indicate expected use.
   149  func (m *MockOwner) EXPECT() *MockOwnerMockRecorder {
   150  	return m.recorder
   151  }
   152  
   153  // InitCtx mocks base method.
   154  func (m *MockOwner) InitCtx(arg0 *snow.Context) {
   155  	m.ctrl.T.Helper()
   156  	m.ctrl.Call(m, "InitCtx", arg0)
   157  }
   158  
   159  // InitCtx indicates an expected call of InitCtx.
   160  func (mr *MockOwnerMockRecorder) InitCtx(arg0 any) *gomock.Call {
   161  	mr.mock.ctrl.T.Helper()
   162  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitCtx", reflect.TypeOf((*MockOwner)(nil).InitCtx), arg0)
   163  }
   164  
   165  // Verify mocks base method.
   166  func (m *MockOwner) Verify() error {
   167  	m.ctrl.T.Helper()
   168  	ret := m.ctrl.Call(m, "Verify")
   169  	ret0, _ := ret[0].(error)
   170  	return ret0
   171  }
   172  
   173  // Verify indicates an expected call of Verify.
   174  func (mr *MockOwnerMockRecorder) Verify() *gomock.Call {
   175  	mr.mock.ctrl.T.Helper()
   176  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Verify", reflect.TypeOf((*MockOwner)(nil).Verify))
   177  }
   178  
   179  // isState mocks base method.
   180  func (m *MockOwner) isState() error {
   181  	m.ctrl.T.Helper()
   182  	ret := m.ctrl.Call(m, "isState")
   183  	ret0, _ := ret[0].(error)
   184  	return ret0
   185  }
   186  
   187  // isState indicates an expected call of isState.
   188  func (mr *MockOwnerMockRecorder) isState() *gomock.Call {
   189  	mr.mock.ctrl.T.Helper()
   190  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "isState", reflect.TypeOf((*MockOwner)(nil).isState))
   191  }