github.com/MetalBlockchain/metalgo@v1.11.9/vms/registry/mock_vm_registry.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/MetalBlockchain/metalgo/vms/registry (interfaces: VMRegistry)
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -package=registry -destination=vms/registry/mock_vm_registry.go github.com/MetalBlockchain/metalgo/vms/registry VMRegistry
     7  //
     8  
     9  // Package registry is a generated GoMock package.
    10  package registry
    11  
    12  import (
    13  	context "context"
    14  	reflect "reflect"
    15  
    16  	ids "github.com/MetalBlockchain/metalgo/ids"
    17  	gomock "go.uber.org/mock/gomock"
    18  )
    19  
    20  // MockVMRegistry is a mock of VMRegistry interface.
    21  type MockVMRegistry struct {
    22  	ctrl     *gomock.Controller
    23  	recorder *MockVMRegistryMockRecorder
    24  }
    25  
    26  // MockVMRegistryMockRecorder is the mock recorder for MockVMRegistry.
    27  type MockVMRegistryMockRecorder struct {
    28  	mock *MockVMRegistry
    29  }
    30  
    31  // NewMockVMRegistry creates a new mock instance.
    32  func NewMockVMRegistry(ctrl *gomock.Controller) *MockVMRegistry {
    33  	mock := &MockVMRegistry{ctrl: ctrl}
    34  	mock.recorder = &MockVMRegistryMockRecorder{mock}
    35  	return mock
    36  }
    37  
    38  // EXPECT returns an object that allows the caller to indicate expected use.
    39  func (m *MockVMRegistry) EXPECT() *MockVMRegistryMockRecorder {
    40  	return m.recorder
    41  }
    42  
    43  // Reload mocks base method.
    44  func (m *MockVMRegistry) Reload(arg0 context.Context) ([]ids.ID, map[ids.ID]error, error) {
    45  	m.ctrl.T.Helper()
    46  	ret := m.ctrl.Call(m, "Reload", arg0)
    47  	ret0, _ := ret[0].([]ids.ID)
    48  	ret1, _ := ret[1].(map[ids.ID]error)
    49  	ret2, _ := ret[2].(error)
    50  	return ret0, ret1, ret2
    51  }
    52  
    53  // Reload indicates an expected call of Reload.
    54  func (mr *MockVMRegistryMockRecorder) Reload(arg0 any) *gomock.Call {
    55  	mr.mock.ctrl.T.Helper()
    56  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reload", reflect.TypeOf((*MockVMRegistry)(nil).Reload), arg0)
    57  }