ID provides a mock function for the type MockExecutable
()
| 524 | |
| 525 | // ID provides a mock function for the type MockExecutable |
| 526 | func (_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' |
| 543 | type MockExecutable_ID_Call struct { |