Newer
Older
// Code generated by mockery v2.10.0. DO NOT EDIT.
southbound "code.fbi.h-da.de/danet/gosdn/controller/interfaces/southbound"
mock "github.com/stretchr/testify/mock"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
transport "code.fbi.h-da.de/danet/gosdn/controller/interfaces/transport"
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
101
102
103
104
105
106
107
108
109
110
111
112
uuid "github.com/google/uuid"
ygot "github.com/openconfig/ygot/ygot"
)
// Device is an autogenerated mock type for the Device type
type Device struct {
mock.Mock
}
// ID provides a mock function with given fields:
func (_m *Device) ID() uuid.UUID {
ret := _m.Called()
var r0 uuid.UUID
if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(uuid.UUID)
}
}
return r0
}
// Model provides a mock function with given fields:
func (_m *Device) Model() ygot.GoStruct {
ret := _m.Called()
var r0 ygot.GoStruct
if rf, ok := ret.Get(0).(func() ygot.GoStruct); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(ygot.GoStruct)
}
}
return r0
}
// Name provides a mock function with given fields:
func (_m *Device) Name() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// ProcessResponse provides a mock function with given fields: _a0
func (_m *Device) ProcessResponse(_a0 protoreflect.ProtoMessage) error {
ret := _m.Called(_a0)
var r0 error
if rf, ok := ret.Get(0).(func(protoreflect.ProtoMessage) error); ok {
r0 = rf(_a0)
} else {
r0 = ret.Error(0)
}
return r0
}
// SBI provides a mock function with given fields:
func (_m *Device) SBI() southbound.SouthboundInterface {
ret := _m.Called()
var r0 southbound.SouthboundInterface
if rf, ok := ret.Get(0).(func() southbound.SouthboundInterface); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(southbound.SouthboundInterface)
}
}
return r0
}
// Transport provides a mock function with given fields:
func (_m *Device) Transport() transport.Transport {
ret := _m.Called()
var r0 transport.Transport
if rf, ok := ret.Get(0).(func() transport.Transport); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(transport.Transport)
}
}
return r0
}