You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Code generated by mockery v2.12.1. DO NOT EDIT.
package mock
import (
module "github.com/onflow/flow-go/module"
mock "github.com/stretchr/testify/mock"
testing "testing"
)
// JobQueue is an autogenerated mock type for the JobQueue type
type JobQueue struct {
mock.Mock
}
// Add provides a mock function with given fields: job
func (_m *JobQueue) Add(job module.Job) error {
ret := _m.Called(job)
var r0 error
if rf, ok := ret.Get(0).(func(module.Job) error); ok {
r0 = rf(job)
} else {
r0 = ret.Error(0)
}
return r0
}
// NewJobQueue creates a new instance of JobQueue. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.