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

package azure

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

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

type mockUserDelegationKeyOption_Expecter struct {
	mock *mock.Mock
}

func (_m *mockUserDelegationKeyOption) EXPECT() *mockUserDelegationKeyOption_Expecter {
	return &mockUserDelegationKeyOption_Expecter{mock: &_m.Mock}
}

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

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

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

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

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

func (_c *mockUserDelegationKeyOption_Execute_Call) RunAndReturn(run func(*userDelegationKeySigner)) *mockUserDelegationKeyOption_Execute_Call {
	_c.Run(run)
	return _c
}

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

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

	return mock
}
