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

package service

import (
	mock "github.com/stretchr/testify/mock"
	auth_methods "gitlab.com/gitlab-org/gitlab-runner/helpers/vault/auth_methods"
)

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

// AuthData provides a mock function with given fields:
func (_m *MockAuth) AuthData() auth_methods.Data {
	ret := _m.Called()

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

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

	return r0
}

// AuthName provides a mock function with given fields:
func (_m *MockAuth) AuthName() string {
	ret := _m.Called()

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

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

	return r0
}

// AuthPath provides a mock function with given fields:
func (_m *MockAuth) AuthPath() string {
	ret := _m.Called()

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

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

	return r0
}

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

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

	return mock
}
