Get provides a mock function for the type Modules
(key *ari.Key)
| 100 | |
| 101 | // Get provides a mock function for the type Modules |
| 102 | func (_mock *Modules) Get(key *ari.Key) *ari.ModuleHandle { |
| 103 | ret := _mock.Called(key) |
| 104 | |
| 105 | if len(ret) == 0 { |
| 106 | panic("no return value specified for Get") |
| 107 | } |
| 108 | |
| 109 | var r0 *ari.ModuleHandle |
| 110 | if returnFunc, ok := ret.Get(0).(func(*ari.Key) *ari.ModuleHandle); ok { |
| 111 | r0 = returnFunc(key) |
| 112 | } else { |
| 113 | if ret.Get(0) != nil { |
| 114 | r0 = ret.Get(0).(*ari.ModuleHandle) |
| 115 | } |
| 116 | } |
| 117 | return r0 |
| 118 | } |
| 119 | |
| 120 | // Modules_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get' |
| 121 | type Modules_Get_Call struct { |
nothing calls this directly
no test coverage detected