github.com/CyCoreSystems/ari@v4.8.4+incompatible/client/arimocks/Event.go (about) 1 // Code generated by mockery v1.0.0. DO NOT EDIT. 2 3 package arimocks 4 5 import ari "github.com/CyCoreSystems/ari" 6 import mock "github.com/stretchr/testify/mock" 7 8 // Event is an autogenerated mock type for the Event type 9 type Event struct { 10 mock.Mock 11 } 12 13 // GetApplication provides a mock function with given fields: 14 func (_m *Event) GetApplication() string { 15 ret := _m.Called() 16 17 var r0 string 18 if rf, ok := ret.Get(0).(func() string); ok { 19 r0 = rf() 20 } else { 21 r0 = ret.Get(0).(string) 22 } 23 24 return r0 25 } 26 27 // GetDialog provides a mock function with given fields: 28 func (_m *Event) GetDialog() string { 29 ret := _m.Called() 30 31 var r0 string 32 if rf, ok := ret.Get(0).(func() string); ok { 33 r0 = rf() 34 } else { 35 r0 = ret.Get(0).(string) 36 } 37 38 return r0 39 } 40 41 // GetNode provides a mock function with given fields: 42 func (_m *Event) GetNode() string { 43 ret := _m.Called() 44 45 var r0 string 46 if rf, ok := ret.Get(0).(func() string); ok { 47 r0 = rf() 48 } else { 49 r0 = ret.Get(0).(string) 50 } 51 52 return r0 53 } 54 55 // GetType provides a mock function with given fields: 56 func (_m *Event) GetType() string { 57 ret := _m.Called() 58 59 var r0 string 60 if rf, ok := ret.Get(0).(func() string); ok { 61 r0 = rf() 62 } else { 63 r0 = ret.Get(0).(string) 64 } 65 66 return r0 67 } 68 69 // Key provides a mock function with given fields: kind, id 70 func (_m *Event) Key(kind string, id string) *ari.Key { 71 ret := _m.Called(kind, id) 72 73 var r0 *ari.Key 74 if rf, ok := ret.Get(0).(func(string, string) *ari.Key); ok { 75 r0 = rf(kind, id) 76 } else { 77 if ret.Get(0) != nil { 78 r0 = ret.Get(0).(*ari.Key) 79 } 80 } 81 82 return r0 83 } 84 85 // Keys provides a mock function with given fields: 86 func (_m *Event) Keys() ari.Keys { 87 ret := _m.Called() 88 89 var r0 ari.Keys 90 if rf, ok := ret.Get(0).(func() ari.Keys); ok { 91 r0 = rf() 92 } else { 93 if ret.Get(0) != nil { 94 r0 = ret.Get(0).(ari.Keys) 95 } 96 } 97 98 return r0 99 } 100 101 // SetDialog provides a mock function with given fields: _a0 102 func (_m *Event) SetDialog(_a0 string) { 103 _m.Called(_a0) 104 }