585
586
// ImportWorkflowExecution mocks base method.
587
>
func (m *MockHistoryServiceClient) ImportWorkflowExecution(ctx context.Context, in *historyservice.ImportWorkflowExecutionRequest, opts ...grpc.CallOption) (*historyservice.ImportWorkflowExecutionResponse, error) {
service_grpc.pb.mock.go
588
>
m.ctrl.T.Helper()
589
>
varargs := []any{ctx, in}
590
>
for _, a := range opts {
591
varargs = append(varargs, a)
592
}
594
>
ret0, _ := ret[0].(*historyservice.ImportWorkflowExecutionResponse)
595
>
ret1, _ := ret[1].(error)
596
>
return ret0, ret1
597
}
598
599
// ImportWorkflowExecution indicates an expected call of ImportWorkflowExecution.
600
>
func (mr *MockHistoryServiceClientMockRecorder) ImportWorkflowExecution(ctx, in any, opts ...any) *gomock.Call {
service_grpc.pb.mock.go
601
>
mr.mock.ctrl.T.Helper()
602
>
varargs := append([]any{ctx, in}, opts...)
603
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImportWorkflowExecution", reflect.TypeOf((*MockHistoryServiceClient)(nil).ImportWorkflowExecution), varargs...)
604
>
}
605
606
// InvokeStateMachineMethod mocks base method.