func (_m *Executor) SetWorkerQuantity(quantity int) {
	_m.Called(quantity)
}
SetWorkerQuantity provides a mock function with given fields: quantity
package mocks
import context "context"
import mock "github.com/stretchr/testify/mock"
type Executor struct {
	mock.Mock
}
func (_m *Executor) Execute(ctx context.Context, f func() error) error {
	ret := _m.Called(ctx, f)
	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, func() error) error); ok {
		r0 = rf(ctx, f)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}