forked from terra-farm/go-virtualbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vbcmd.mock.go
100 lines (85 loc) · 2.75 KB
/
vbcmd.mock.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
// Code generated by MockGen. DO NOT EDIT.
// Source: vbcmd.go
// Package virtualbox is a generated GoMock package.
package virtualbox
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockCommand is a mock of Command interface.
type MockCommand struct {
ctrl *gomock.Controller
recorder *MockCommandMockRecorder
}
// MockCommandMockRecorder is the mock recorder for MockCommand.
type MockCommandMockRecorder struct {
mock *MockCommand
}
// NewMockCommand creates a new mock instance.
func NewMockCommand(ctrl *gomock.Controller) *MockCommand {
mock := &MockCommand{ctrl: ctrl}
mock.recorder = &MockCommandMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockCommand) EXPECT() *MockCommandMockRecorder {
return m.recorder
}
// isGuest mocks base method.
func (m *MockCommand) isGuest() bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "isGuest")
ret0, _ := ret[0].(bool)
return ret0
}
// isGuest indicates an expected call of isGuest.
func (mr *MockCommandMockRecorder) isGuest() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "isGuest", reflect.TypeOf((*MockCommand)(nil).isGuest))
}
// path mocks base method.
func (m *MockCommand) path() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "path")
ret0, _ := ret[0].(string)
return ret0
}
// path indicates an expected call of path.
func (mr *MockCommandMockRecorder) path() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "path", reflect.TypeOf((*MockCommand)(nil).path))
}
// run mocks base method.
func (m *MockCommand) run(args ...string) (string, string, error) {
m.ctrl.T.Helper()
varargs := []interface{}{}
for _, a := range args {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "run", varargs...)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(string)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// run indicates an expected call of run.
func (mr *MockCommandMockRecorder) run(args ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "run", reflect.TypeOf((*MockCommand)(nil).run), args...)
}
// setOpts mocks base method.
func (m *MockCommand) setOpts(opts ...option) Command {
m.ctrl.T.Helper()
varargs := []interface{}{}
for _, a := range opts {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "setOpts", varargs...)
ret0, _ := ret[0].(Command)
return ret0
}
// setOpts indicates an expected call of setOpts.
func (mr *MockCommandMockRecorder) setOpts(opts ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "setOpts", reflect.TypeOf((*MockCommand)(nil).setOpts), opts...)
}