// Code generated by MockGen. DO NOT EDIT.
// Source: cache.go
//
// Generated by this command:
//
//	mockgen-v0.6.0 -typed -source=cache.go -destination=mock_cache.go -package cincinnati ClientCache
//

// Package cincinnati is a generated GoMock package.
package cincinnati

import (
	reflect "reflect"

	uuid "github.com/google/uuid"
	gomock "go.uber.org/mock/gomock"
)

// MockClientCache is a mock of ClientCache interface.
type MockClientCache struct {
	ctrl     *gomock.Controller
	recorder *MockClientCacheMockRecorder
	isgomock struct{}
}

// MockClientCacheMockRecorder is the mock recorder for MockClientCache.
type MockClientCacheMockRecorder struct {
	mock *MockClientCache
}

// NewMockClientCache creates a new mock instance.
func NewMockClientCache(ctrl *gomock.Controller) *MockClientCache {
	mock := &MockClientCache{ctrl: ctrl}
	mock.recorder = &MockClientCacheMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockClientCache) EXPECT() *MockClientCacheMockRecorder {
	return m.recorder
}

// GetOrCreateClient mocks base method.
func (m *MockClientCache) GetOrCreateClient(clusterUUID uuid.UUID) Client {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetOrCreateClient", clusterUUID)
	ret0, _ := ret[0].(Client)
	return ret0
}

// GetOrCreateClient indicates an expected call of GetOrCreateClient.
func (mr *MockClientCacheMockRecorder) GetOrCreateClient(clusterUUID any) *MockClientCacheGetOrCreateClientCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOrCreateClient", reflect.TypeOf((*MockClientCache)(nil).GetOrCreateClient), clusterUUID)
	return &MockClientCacheGetOrCreateClientCall{Call: call}
}

// MockClientCacheGetOrCreateClientCall wrap *gomock.Call
type MockClientCacheGetOrCreateClientCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockClientCacheGetOrCreateClientCall) Return(arg0 Client) *MockClientCacheGetOrCreateClientCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockClientCacheGetOrCreateClientCall) Do(f func(uuid.UUID) Client) *MockClientCacheGetOrCreateClientCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockClientCacheGetOrCreateClientCall) DoAndReturn(f func(uuid.UUID) Client) *MockClientCacheGetOrCreateClientCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}
