// Code generated by MockGen. DO NOT EDIT.
// Source: ../interfaces/index_base_access.go
//
// Generated by this command:
//
//	mockgen -source ../interfaces/index_base_access.go -destination ../interfaces/mock/mock_index_base_access.go
//

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

import (
	context "context"
	interfaces "flow-stream-data-pipeline/pipeline-mgmt/interfaces"
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// MockIndexBaseAccess is a mock of IndexBaseAccess interface.
type MockIndexBaseAccess struct {
	ctrl     *gomock.Controller
	recorder *MockIndexBaseAccessMockRecorder
	isgomock struct{}
}

// MockIndexBaseAccessMockRecorder is the mock recorder for MockIndexBaseAccess.
type MockIndexBaseAccessMockRecorder struct {
	mock *MockIndexBaseAccess
}

// NewMockIndexBaseAccess creates a new mock instance.
func NewMockIndexBaseAccess(ctrl *gomock.Controller) *MockIndexBaseAccess {
	mock := &MockIndexBaseAccess{ctrl: ctrl}
	mock.recorder = &MockIndexBaseAccessMockRecorder{mock}
	return mock
}

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

// GetIndexBasesByTypes mocks base method.
func (m *MockIndexBaseAccess) GetIndexBasesByTypes(ctx context.Context, baseTypes []string) ([]*interfaces.IndexBase, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetIndexBasesByTypes", ctx, baseTypes)
	ret0, _ := ret[0].([]*interfaces.IndexBase)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetIndexBasesByTypes indicates an expected call of GetIndexBasesByTypes.
func (mr *MockIndexBaseAccessMockRecorder) GetIndexBasesByTypes(ctx, baseTypes any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIndexBasesByTypes", reflect.TypeOf((*MockIndexBaseAccess)(nil).GetIndexBasesByTypes), ctx, baseTypes)
}
