45
46
// AddTasks mocks base method.
47
>
func (m *MockHistoryServiceClient) AddTasks(ctx context.Context, in *historyservice.AddTasksRequest, opts ...grpc.CallOption) (*historyservice.AddTasksResponse, error) {
service_grpc.pb.mock.go
48
>
m.ctrl.T.Helper()
49
>
varargs := []any{ctx, in}
50
>
for _, a := range opts {
51
varargs = append(varargs, a)
52
}
54
>
ret0, _ := ret[0].(*historyservice.AddTasksResponse)
55
>
ret1, _ := ret[1].(error)
56
>
return ret0, ret1
57
}
58
59
// AddTasks indicates an expected call of AddTasks.
60
>
func (mr *MockHistoryServiceClientMockRecorder) AddTasks(ctx, in any, opts ...any) *gomock.Call {
service_grpc.pb.mock.go
61
>
mr.mock.ctrl.T.Helper()
62
>
varargs := append([]any{ctx, in}, opts...)
63
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddTasks", reflect.TypeOf((*MockHistoryServiceClient)(nil).AddTasks), varargs...)
64
>
}
65
66
// CancelNexusOperation mocks base method.