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

package mock

import (
	context "context"

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

	zap "go.uber.org/zap"
)

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

// Execute provides a mock function with given fields: ctx, recoveryGroupID, rgOperationID, logger
func (_m *RunFun) Execute(ctx context.Context, recoveryGroupID uint64, rgOperationID uint64, logger *zap.Logger) error {
	ret := _m.Called(ctx, recoveryGroupID, rgOperationID, logger)

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

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, uint64, uint64, *zap.Logger) error); ok {
		r0 = rf(ctx, recoveryGroupID, rgOperationID, logger)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// NewRunFun creates a new instance of RunFun. 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 NewRunFun(t interface {
	mock.TestingT
	Cleanup(func())
}) *RunFun {
	mock := &RunFun{}
	mock.Mock.Test(t)

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

	return mock
}
