/
UnsafeConnectionControllerServer.go
64 lines (50 loc) · 2.74 KB
/
UnsafeConnectionControllerServer.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
// Code generated by mockery v2.32.0. DO NOT EDIT.
package mocks
import mock "github.com/stretchr/testify/mock"
// UnsafeConnectionControllerServer is an autogenerated mock type for the UnsafeConnectionControllerServer type
type UnsafeConnectionControllerServer struct {
mock.Mock
}
type UnsafeConnectionControllerServer_Expecter struct {
mock *mock.Mock
}
func (_m *UnsafeConnectionControllerServer) EXPECT() *UnsafeConnectionControllerServer_Expecter {
return &UnsafeConnectionControllerServer_Expecter{mock: &_m.Mock}
}
// mustEmbedUnimplementedConnectionControllerServer provides a mock function with given fields:
func (_m *UnsafeConnectionControllerServer) mustEmbedUnimplementedConnectionControllerServer() {
_m.Called()
}
// UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedConnectionControllerServer'
type UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call struct {
*mock.Call
}
// mustEmbedUnimplementedConnectionControllerServer is a helper method to define mock.On call
func (_e *UnsafeConnectionControllerServer_Expecter) mustEmbedUnimplementedConnectionControllerServer() *UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call {
return &UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call{Call: _e.mock.On("mustEmbedUnimplementedConnectionControllerServer")}
}
func (_c *UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call) Run(run func()) *UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call {
_c.Call.Run(func(args mock.Arguments) {
run()
})
return _c
}
func (_c *UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call) Return() *UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call {
_c.Call.Return()
return _c
}
func (_c *UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call) RunAndReturn(run func()) *UnsafeConnectionControllerServer_mustEmbedUnimplementedConnectionControllerServer_Call {
_c.Call.Return(run)
return _c
}
// NewUnsafeConnectionControllerServer creates a new instance of UnsafeConnectionControllerServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewUnsafeConnectionControllerServer(t interface {
mock.TestingT
Cleanup(func())
}) *UnsafeConnectionControllerServer {
mock := &UnsafeConnectionControllerServer{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}