MCPcopy Create free account
hub / github.com/CyCoreSystems/ari / Get

Method Get

client/arimocks/Modules.go:102–118  ·  view source on GitHub ↗

Get provides a mock function for the type Modules

(key *ari.Key)

Source from the content-addressed store, hash-verified

100
101// Get provides a mock function for the type Modules
102func (_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'
121type Modules_Get_Call struct {

Callers

nothing calls this directly

Implementers 3

Modulesclient/arimocks/Modules.go
Modules_Expecterclient/arimocks/Modules.go
Modulesclient/native/modules.go

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected