335
336
// UpdateWorkflowExecutionWithNew mocks base method.
337
>
func (m *MockWorkflowContext) UpdateWorkflowExecutionWithNew(ctx context.Context, shardContext ShardContext, updateMode persistence0.UpdateWorkflowMode, newContext WorkflowContext, newMutableState MutableState, updateWorkflowTransactionPolicy TransactionPolicy, newWorkflowTransactionPolicy *TransactionPolicy) error {
workflow_context_mock.go
338
>
m.ctrl.T.Helper()
339
>
ret := m.ctrl.Call(m, "UpdateWorkflowExecutionWithNew", ctx, shardContext, updateMode, newContext, newMutableState, updateWorkflowTransactionPolicy, newWorkflowTransactionPolicy)
340
>
ret0, _ := ret[0].(error)
341
>
return ret0
342
>
}
343
344
// UpdateWorkflowExecutionWithNew indicates an expected call of UpdateWorkflowExecutionWithNew.
345
>
func (mr *MockWorkflowContextMockRecorder) UpdateWorkflowExecutionWithNew(ctx, shardContext, updateMode, newContext, newMutableState, updateWorkflowTransactionPolicy, newWorkflowTransactionPolicy any) *gomock.Call {
workflow_context_mock.go
346
>
mr.mock.ctrl.T.Helper()
347
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateWorkflowExecutionWithNew", reflect.TypeOf((*MockWorkflowContext)(nil).UpdateWorkflowExecutionWithNew), ctx, shardContext, updateMode, newContext, newMutableState, updateWorkflowTransactionPolicy, newWorkflowTransactionPolicy)
348
>
}
349
350
// UpdateWorkflowExecutionWithNewAsActive mocks base method.