-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration_environs_mock_test.go
55 lines (46 loc) · 1.72 KB
/
registration_environs_mock_test.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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/juju/juju/environs (interfaces: ConnectorInfo)
//
// Generated by this command:
//
// mockgen -package apiserver_test -destination registration_environs_mock_test.go github.com/juju/juju/environs ConnectorInfo
//
// Package apiserver_test is a generated GoMock package.
package apiserver_test
import (
reflect "reflect"
proxy "github.com/juju/juju/proxy"
gomock "go.uber.org/mock/gomock"
)
// MockConnectorInfo is a mock of ConnectorInfo interface.
type MockConnectorInfo struct {
ctrl *gomock.Controller
recorder *MockConnectorInfoMockRecorder
}
// MockConnectorInfoMockRecorder is the mock recorder for MockConnectorInfo.
type MockConnectorInfoMockRecorder struct {
mock *MockConnectorInfo
}
// NewMockConnectorInfo creates a new mock instance.
func NewMockConnectorInfo(ctrl *gomock.Controller) *MockConnectorInfo {
mock := &MockConnectorInfo{ctrl: ctrl}
mock.recorder = &MockConnectorInfoMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockConnectorInfo) EXPECT() *MockConnectorInfoMockRecorder {
return m.recorder
}
// ConnectionProxyInfo mocks base method.
func (m *MockConnectorInfo) ConnectionProxyInfo() (proxy.Proxier, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ConnectionProxyInfo")
ret0, _ := ret[0].(proxy.Proxier)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ConnectionProxyInfo indicates an expected call of ConnectionProxyInfo.
func (mr *MockConnectorInfoMockRecorder) ConnectionProxyInfo() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionProxyInfo", reflect.TypeOf((*MockConnectorInfo)(nil).ConnectionProxyInfo))
}