(model *model.Step, rc *RunContext)
| 91 | } |
| 92 | |
| 93 | func (sfm *stepFactoryMock) newStep(model *model.Step, rc *RunContext) (step, error) { |
| 94 | args := sfm.Called(model, rc) |
| 95 | return args.Get(0).(step), args.Error(1) |
| 96 | } |
| 97 | |
| 98 | func TestNewJobExecutor(t *testing.T) { |
| 99 | table := []struct { |