forked from ava-labs/avalanchego
-
Notifications
You must be signed in to change notification settings - Fork 4
/
mock_vm_registry.go
70 lines (58 loc) · 2.15 KB
/
mock_vm_registry.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
// Copyright (C) 2019-2021, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// Code generated by MockGen. DO NOT EDIT.
// Source: vms/registry/vm_registry.go
// Package registry is a generated GoMock package.
package registry
import (
reflect "reflect"
ids "github.com/MetalBlockchain/metalgo/ids"
gomock "github.com/golang/mock/gomock"
)
// MockVMRegistry is a mock of VMRegistry interface.
type MockVMRegistry struct {
ctrl *gomock.Controller
recorder *MockVMRegistryMockRecorder
}
// MockVMRegistryMockRecorder is the mock recorder for MockVMRegistry.
type MockVMRegistryMockRecorder struct {
mock *MockVMRegistry
}
// NewMockVMRegistry creates a new mock instance.
func NewMockVMRegistry(ctrl *gomock.Controller) *MockVMRegistry {
mock := &MockVMRegistry{ctrl: ctrl}
mock.recorder = &MockVMRegistryMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockVMRegistry) EXPECT() *MockVMRegistryMockRecorder {
return m.recorder
}
// Reload mocks base method.
func (m *MockVMRegistry) Reload() ([]ids.ID, map[ids.ID]error, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Reload")
ret0, _ := ret[0].([]ids.ID)
ret1, _ := ret[1].(map[ids.ID]error)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// Reload indicates an expected call of Reload.
func (mr *MockVMRegistryMockRecorder) Reload() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reload", reflect.TypeOf((*MockVMRegistry)(nil).Reload))
}
// ReloadWithReadLock mocks base method.
func (m *MockVMRegistry) ReloadWithReadLock() ([]ids.ID, map[ids.ID]error, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ReloadWithReadLock")
ret0, _ := ret[0].([]ids.ID)
ret1, _ := ret[1].(map[ids.ID]error)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// ReloadWithReadLock indicates an expected call of ReloadWithReadLock.
func (mr *MockVMRegistryMockRecorder) ReloadWithReadLock() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReloadWithReadLock", reflect.TypeOf((*MockVMRegistry)(nil).ReloadWithReadLock))
}