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

package configfile

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

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

type MockLoadOption_Expecter struct {
	mock *mock.Mock
}

func (_m *MockLoadOption) EXPECT() *MockLoadOption_Expecter {
	return &MockLoadOption_Expecter{mock: &_m.Mock}
}

// Execute provides a mock function with given fields: _a0
func (_m *MockLoadOption) Execute(_a0 *loadOptions) {
	_m.Called(_a0)
}

// MockLoadOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
type MockLoadOption_Execute_Call struct {
	*mock.Call
}

// Execute is a helper method to define mock.On call
//   - _a0 *loadOptions
func (_e *MockLoadOption_Expecter) Execute(_a0 interface{}) *MockLoadOption_Execute_Call {
	return &MockLoadOption_Execute_Call{Call: _e.mock.On("Execute", _a0)}
}

func (_c *MockLoadOption_Execute_Call) Run(run func(_a0 *loadOptions)) *MockLoadOption_Execute_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(*loadOptions))
	})
	return _c
}

func (_c *MockLoadOption_Execute_Call) Return() *MockLoadOption_Execute_Call {
	_c.Call.Return()
	return _c
}

func (_c *MockLoadOption_Execute_Call) RunAndReturn(run func(*loadOptions)) *MockLoadOption_Execute_Call {
	_c.Run(run)
	return _c
}

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

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

	return mock
}
