AddTransition provides a mock function for the type MockExecutable
(port string, tr Transition)
| 401 | |
| 402 | // AddTransition provides a mock function for the type MockExecutable |
| 403 | func (_mock *MockExecutable) AddTransition(port string, tr Transition) error { |
| 404 | ret := _mock.Called(port, tr) |
| 405 | |
| 406 | if len(ret) == 0 { |
| 407 | panic("no return value specified for AddTransition") |
| 408 | } |
| 409 | |
| 410 | var r0 error |
| 411 | if returnFunc, ok := ret.Get(0).(func(string, Transition) error); ok { |
| 412 | r0 = returnFunc(port, tr) |
| 413 | } else { |
| 414 | r0 = ret.Error(0) |
| 415 | } |
| 416 | return r0 |
| 417 | } |
| 418 | |
| 419 | // MockExecutable_AddTransition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTransition' |
| 420 | type MockExecutable_AddTransition_Call struct { |