forked from cloudfoundry/bosh-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mocks.go
40 lines (32 loc) · 1.22 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
// Automatically generated by MockGen. DO NOT EDIT!
// Source: agent_client_factory.go
package mocks
import (
agentclient "github.com/cloudfoundry/bosh-agent/agentclient"
gomock "github.com/cloudfoundry/bosh-agent/internal/github.com/golang/mock/gomock"
)
// Mock of AgentClientFactory interface
type MockAgentClientFactory struct {
ctrl *gomock.Controller
recorder *_MockAgentClientFactoryRecorder
}
// Recorder for MockAgentClientFactory (not exported)
type _MockAgentClientFactoryRecorder struct {
mock *MockAgentClientFactory
}
func NewMockAgentClientFactory(ctrl *gomock.Controller) *MockAgentClientFactory {
mock := &MockAgentClientFactory{ctrl: ctrl}
mock.recorder = &_MockAgentClientFactoryRecorder{mock}
return mock
}
func (_m *MockAgentClientFactory) EXPECT() *_MockAgentClientFactoryRecorder {
return _m.recorder
}
func (_m *MockAgentClientFactory) NewAgentClient(directorID string, mbusURL string) agentclient.AgentClient {
ret := _m.ctrl.Call(_m, "NewAgentClient", directorID, mbusURL)
ret0, _ := ret[0].(agentclient.AgentClient)
return ret0
}
func (_mr *_MockAgentClientFactoryRecorder) NewAgentClient(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "NewAgentClient", arg0, arg1)
}