// Code generated by mockery v2.53.3. DO NOT EDIT.

package mock

import (
	context "context"

	mock "github.com/stretchr/testify/mock"
)

// SinkEndpointWorker is an autogenerated mock type for the SinkEndpointWorker type
type SinkEndpointWorker struct {
	mock.Mock
}

// CleanupUnusedEndpoints provides a mock function with given fields: ctx
func (_m *SinkEndpointWorker) CleanupUnusedEndpoints(ctx context.Context) error {
	ret := _m.Called(ctx)

	if len(ret) == 0 {
		panic("no return value specified for CleanupUnusedEndpoints")
	}

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context) error); ok {
		r0 = rf(ctx)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// SyncAllEndpoints provides a mock function with given fields: ctx
func (_m *SinkEndpointWorker) SyncAllEndpoints(ctx context.Context) error {
	ret := _m.Called(ctx)

	if len(ret) == 0 {
		panic("no return value specified for SyncAllEndpoints")
	}

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context) error); ok {
		r0 = rf(ctx)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// NewSinkEndpointWorker creates a new instance of SinkEndpointWorker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewSinkEndpointWorker(t interface {
	mock.TestingT
	Cleanup(func())
}) *SinkEndpointWorker {
	mock := &SinkEndpointWorker{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
