-
Notifications
You must be signed in to change notification settings - Fork 671
/
mock_vm_registerer.go
68 lines (56 loc) · 2.33 KB
/
mock_vm_registerer.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ava-labs/avalanchego/vms/registry (interfaces: VMRegisterer)
// Package registry is a generated GoMock package.
package registry
import (
context "context"
reflect "reflect"
ids "github.com/ava-labs/avalanchego/ids"
vms "github.com/ava-labs/avalanchego/vms"
gomock "github.com/golang/mock/gomock"
)
// MockVMRegisterer is a mock of VMRegisterer interface.
type MockVMRegisterer struct {
ctrl *gomock.Controller
recorder *MockVMRegistererMockRecorder
}
// MockVMRegistererMockRecorder is the mock recorder for MockVMRegisterer.
type MockVMRegistererMockRecorder struct {
mock *MockVMRegisterer
}
// NewMockVMRegisterer creates a new mock instance.
func NewMockVMRegisterer(ctrl *gomock.Controller) *MockVMRegisterer {
mock := &MockVMRegisterer{ctrl: ctrl}
mock.recorder = &MockVMRegistererMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockVMRegisterer) EXPECT() *MockVMRegistererMockRecorder {
return m.recorder
}
// Register mocks base method.
func (m *MockVMRegisterer) Register(arg0 context.Context, arg1 ids.ID, arg2 vms.Factory) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Register", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// Register indicates an expected call of Register.
func (mr *MockVMRegistererMockRecorder) Register(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*MockVMRegisterer)(nil).Register), arg0, arg1, arg2)
}
// RegisterWithReadLock mocks base method.
func (m *MockVMRegisterer) RegisterWithReadLock(arg0 context.Context, arg1 ids.ID, arg2 vms.Factory) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RegisterWithReadLock", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// RegisterWithReadLock indicates an expected call of RegisterWithReadLock.
func (mr *MockVMRegistererMockRecorder) RegisterWithReadLock(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterWithReadLock", reflect.TypeOf((*MockVMRegisterer)(nil).RegisterWithReadLock), arg0, arg1, arg2)
}