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

Method AddTransition

go/engine/mocks_test.go:427–429  ·  view source on GitHub ↗

AddTransition is a helper method to define mock.On call - port string - tr Transition

(port interface{}, tr interface{})

Source from the content-addressed store, hash-verified

425// - port string
426// - tr Transition
427func (_e *MockExecutable_Expecter) AddTransition(port interface{}, tr interface{}) *MockExecutable_AddTransition_Call {
428 return &MockExecutable_AddTransition_Call{Call: _e.mock.On("AddTransition", port, tr)}
429}
430
431func (_c *MockExecutable_AddTransition_Call) Run(run func(port string, tr Transition)) *MockExecutable_AddTransition_Call {
432 _c.Call.Run(func(args mock.Arguments) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected