321
322
// UpdateWorkflowExecutionAsPassive mocks base method.
323
>
func (m *MockWorkflowContext) UpdateWorkflowExecutionAsPassive(ctx context.Context, shardContext ShardContext) error {
workflow_context_mock.go
324
>
m.ctrl.T.Helper()
325
>
ret := m.ctrl.Call(m, "UpdateWorkflowExecutionAsPassive", ctx, shardContext)
326
>
ret0, _ := ret[0].(error)
327
>
return ret0
328
>
}
329
330
// UpdateWorkflowExecutionAsPassive indicates an expected call of UpdateWorkflowExecutionAsPassive.
331
>
func (mr *MockWorkflowContextMockRecorder) UpdateWorkflowExecutionAsPassive(ctx, shardContext any) *gomock.Call {
workflow_context_mock.go
332
>
mr.mock.ctrl.T.Helper()
333
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateWorkflowExecutionAsPassive", reflect.TypeOf((*MockWorkflowContext)(nil).UpdateWorkflowExecutionAsPassive), ctx, shardContext)
334
>
}
335
336
// UpdateWorkflowExecutionWithNew mocks base method.