func (mr *MockTaskServiceMockRecorder) AddTask(arg0 interface{}, arg1 ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{arg0}, arg1...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddTask", reflect.TypeOf((*MockTaskService)(nil).AddTask), varargs...)
}
AddTask indicates an expected call of AddTask
package service
import (
	context "context"
	task "github.com/baetyl/baetyl-go/v2/task"
	gomock "github.com/golang/mock/gomock"
	reflect "reflect"
)
type MockTaskService struct {
	ctrl     *gomock.Controller
	recorder *MockTaskServiceMockRecorder
}
type MockTaskServiceMockRecorder struct {
	mock *MockTaskService
}
func NewMockTaskService(ctrl *gomock.Controller) *MockTaskService {
	mock := &MockTaskService{ctrl: ctrl}
	mock.recorder = &MockTaskServiceMockRecorder{mock}
	return mock
}
func (m *MockTaskService) EXPECT() *MockTaskServiceMockRecorder {
	return m.recorder
}
func (m *MockTaskService) AddTask(arg0 string, arg1 ...interface{}) (*task.TaskResult, error) {
	m.ctrl.T.Helper()
	varargs := []interface{}{arg0}
	for _, a := range arg1 {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "AddTask", varargs...)
	ret0, _ := ret[0].(*task.TaskResult)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}