forked from ava-labs/avalanchego
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mock_vm_registerer.go
104 lines (86 loc) · 3.34 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// 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: vms/registry/vm_registerer.go
// Package mock_registry is a generated GoMock package.
package registry
import (
reflect "reflect"
ids "github.com/dim4egster/qmallgo/ids"
vms "github.com/dim4egster/qmallgo/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 ids.ID, arg1 vms.Factory) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Register", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// Register indicates an expected call of Register.
func (mr *MockVMRegistererMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*MockVMRegisterer)(nil).Register), arg0, arg1)
}
// RegisterWithReadLock mocks base method.
func (m *MockVMRegisterer) RegisterWithReadLock(arg0 ids.ID, arg1 vms.Factory) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RegisterWithReadLock", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// RegisterWithReadLock indicates an expected call of RegisterWithReadLock.
func (mr *MockVMRegistererMockRecorder) RegisterWithReadLock(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterWithReadLock", reflect.TypeOf((*MockVMRegisterer)(nil).RegisterWithReadLock), arg0, arg1)
}
// Mockregisterer is a mock of registerer interface.
type Mockregisterer struct {
ctrl *gomock.Controller
recorder *MockregistererMockRecorder
}
// MockregistererMockRecorder is the mock recorder for Mockregisterer.
type MockregistererMockRecorder struct {
mock *Mockregisterer
}
// NewMockregisterer creates a new mock instance.
func NewMockregisterer(ctrl *gomock.Controller) *Mockregisterer {
mock := &Mockregisterer{ctrl: ctrl}
mock.recorder = &MockregistererMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *Mockregisterer) EXPECT() *MockregistererMockRecorder {
return m.recorder
}
// Register mocks base method.
func (m *Mockregisterer) Register(arg0 ids.ID, arg1 vms.Factory) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Register", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// Register indicates an expected call of Register.
func (mr *MockregistererMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*Mockregisterer)(nil).Register), arg0, arg1)
}