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

package service

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

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

// GetSecret provides a mock function with given fields: name, version
func (_m *MockAzureKeyVault) GetSecret(name string, version string) (interface{}, error) {
	ret := _m.Called(name, version)

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

	var r0 interface{}
	var r1 error
	if rf, ok := ret.Get(0).(func(string, string) (interface{}, error)); ok {
		return rf(name, version)
	}
	if rf, ok := ret.Get(0).(func(string, string) interface{}); ok {
		r0 = rf(name, version)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(interface{})
		}
	}

	if rf, ok := ret.Get(1).(func(string, string) error); ok {
		r1 = rf(name, version)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

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

	return mock
}
