83
84
// AddTasks mocks base method.
85
>
func (m *MockShardContext) AddTasks(ctx context.Context, request *persistence0.AddHistoryTasksRequest) error {
shard_context_mock.go
86
>
m.ctrl.T.Helper()
87
>
ret := m.ctrl.Call(m, "AddTasks", ctx, request)
88
>
ret0, _ := ret[0].(error)
89
>
return ret0
90
>
}
91
92
// AddTasks indicates an expected call of AddTasks.
93
>
func (mr *MockShardContextMockRecorder) AddTasks(ctx, request any) *gomock.Call {
shard_context_mock.go
94
>
mr.mock.ctrl.T.Helper()
95
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddTasks", reflect.TypeOf((*MockShardContext)(nil).AddTasks), ctx, request)
96
>
}
97
98
// AppendHistoryEvents mocks base method.