// 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"
)

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

// Params provides a mock function with no fields
func (_m *RunAction) Params() interface{} {
	ret := _m.Called()

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

	var r0 interface{}
	if rf, ok := ret.Get(0).(func() interface{}); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(interface{})
		}
	}

	return r0
}

// Run provides a mock function with given fields: ctx, logger, params
func (_m *RunAction) Run(ctx context.Context, logger *zap.Logger, params interface{}) error {
	ret := _m.Called(ctx, logger, params)

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

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

	return r0
}

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

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

	return mock
}
