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

package cache

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

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

// GetCredentials provides a mock function with given fields:
func (_m *MockCredentialsAdapter) GetCredentials() map[string]string {
	ret := _m.Called()

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

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

	return r0
}

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

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

	return mock
}
