MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / ID

Method ID

go/engine/mocks_test.go:526–540  ·  view source on GitHub ↗

ID provides a mock function for the type MockExecutable

()

Source from the content-addressed store, hash-verified

524
525// ID provides a mock function for the type MockExecutable
526func (_mock *MockExecutable) ID() string {
527 ret := _mock.Called()
528
529 if len(ret) == 0 {
530 panic("no return value specified for ID")
531 }
532
533 var r0 string
534 if returnFunc, ok := ret.Get(0).(func() string); ok {
535 r0 = returnFunc()
536 } else {
537 r0 = ret.Get(0).(string)
538 }
539 return r0
540}
541
542// MockExecutable_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
543type MockExecutable_ID_Call struct {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected