254
255
// ExecuteWorkflow mocks base method.
256
>
func (m *MockClient) ExecuteWorkflow(ctx context.Context, options client.StartWorkflowOptions, workflow any, args ...any) (client.WorkflowRun, error) {
client_mock.go
257
>
m.ctrl.T.Helper()
258
>
varargs := []any{ctx, options, workflow}
259
>
for _, a := range args {
260
varargs = append(varargs, a)
261
}
262
>
ret := m.ctrl.Call(m, "ExecuteWorkflow", varargs...)
client_mock.go
263
>
ret0, _ := ret[0].(client.WorkflowRun)
264
>
ret1, _ := ret[1].(error)
265
>
return ret0, ret1
266
}
267
268
// ExecuteWorkflow indicates an expected call of ExecuteWorkflow.
269
>
func (mr *MockClientMockRecorder) ExecuteWorkflow(ctx, options, workflow any, args ...any) *gomock.Call {
client_mock.go
270
>
mr.mock.ctrl.T.Helper()
271
>
varargs := append([]any{ctx, options, workflow}, args...)
272
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteWorkflow", reflect.TypeOf((*MockClient)(nil).ExecuteWorkflow), varargs...)
273
>
}
274
275
// GetActivityHandle mocks base method.