forked from cloudfoundry/bosh-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mocks.go
72 lines (58 loc) · 1.86 KB
/
mocks.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
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/cloudfoundry/bosh-cli/registry (interfaces: Server,ServerManager)
package mocks
import (
registry "github.com/cloudfoundry/bosh-cli/registry"
gomock "github.com/golang/mock/gomock"
)
// Mock of Server interface
type MockServer struct {
ctrl *gomock.Controller
recorder *_MockServerRecorder
}
// Recorder for MockServer (not exported)
type _MockServerRecorder struct {
mock *MockServer
}
func NewMockServer(ctrl *gomock.Controller) *MockServer {
mock := &MockServer{ctrl: ctrl}
mock.recorder = &_MockServerRecorder{mock}
return mock
}
func (_m *MockServer) EXPECT() *_MockServerRecorder {
return _m.recorder
}
func (_m *MockServer) Stop() error {
ret := _m.ctrl.Call(_m, "Stop")
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockServerRecorder) Stop() *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Stop")
}
// Mock of ServerManager interface
type MockServerManager struct {
ctrl *gomock.Controller
recorder *_MockServerManagerRecorder
}
// Recorder for MockServerManager (not exported)
type _MockServerManagerRecorder struct {
mock *MockServerManager
}
func NewMockServerManager(ctrl *gomock.Controller) *MockServerManager {
mock := &MockServerManager{ctrl: ctrl}
mock.recorder = &_MockServerManagerRecorder{mock}
return mock
}
func (_m *MockServerManager) EXPECT() *_MockServerManagerRecorder {
return _m.recorder
}
func (_m *MockServerManager) Start(_param0 string, _param1 string, _param2 string, _param3 int) (registry.Server, error) {
ret := _m.ctrl.Call(_m, "Start", _param0, _param1, _param2, _param3)
ret0, _ := ret[0].(registry.Server)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockServerManagerRecorder) Start(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Start", arg0, arg1, arg2, arg3)
}