// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/kweaver-ai/kweaver-core/decision-agent/agent-backend/agent-factory/src/port/driven/idbaccess (interfaces: ICategoryRepo)
//
// Generated by this command:
//
//	mockgen -package idbaccessmock -destination ./idbaccessmock/category.go github.com/kweaver-ai/kweaver-core/decision-agent/agent-backend/agent-factory/src/port/driven/idbaccess ICategoryRepo
//

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

import (
	context "context"
	reflect "reflect"

	dapo "github.com/kweaver-ai/kweaver-core/decision-agent/agent-backend/agent-factory/src/infra/persistence/dapo"
	gomock "go.uber.org/mock/gomock"
)

// MockICategoryRepo is a mock of ICategoryRepo interface.
type MockICategoryRepo struct {
	ctrl     *gomock.Controller
	recorder *MockICategoryRepoMockRecorder
	isgomock struct{}
}

// MockICategoryRepoMockRecorder is the mock recorder for MockICategoryRepo.
type MockICategoryRepoMockRecorder struct {
	mock *MockICategoryRepo
}

// NewMockICategoryRepo creates a new mock instance.
func NewMockICategoryRepo(ctrl *gomock.Controller) *MockICategoryRepo {
	mock := &MockICategoryRepo{ctrl: ctrl}
	mock.recorder = &MockICategoryRepoMockRecorder{mock}
	return mock
}

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

// GetByReleaseId mocks base method.
func (m *MockICategoryRepo) GetByReleaseId(ctx context.Context, releaaseId string) ([]*dapo.CategoryPO, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetByReleaseId", ctx, releaaseId)
	ret0, _ := ret[0].([]*dapo.CategoryPO)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetByReleaseId indicates an expected call of GetByReleaseId.
func (mr *MockICategoryRepoMockRecorder) GetByReleaseId(ctx, releaaseId any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByReleaseId", reflect.TypeOf((*MockICategoryRepo)(nil).GetByReleaseId), ctx, releaaseId)
}

// GetIDNameMap mocks base method.
func (m *MockICategoryRepo) GetIDNameMap(ctx context.Context, ids []string) (map[string]string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetIDNameMap", ctx, ids)
	ret0, _ := ret[0].(map[string]string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetIDNameMap indicates an expected call of GetIDNameMap.
func (mr *MockICategoryRepoMockRecorder) GetIDNameMap(ctx, ids any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIDNameMap", reflect.TypeOf((*MockICategoryRepo)(nil).GetIDNameMap), ctx, ids)
}

// List mocks base method.
func (m *MockICategoryRepo) List(ctx context.Context, req any) ([]*dapo.CategoryPO, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "List", ctx, req)
	ret0, _ := ret[0].([]*dapo.CategoryPO)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// List indicates an expected call of List.
func (mr *MockICategoryRepoMockRecorder) List(ctx, req any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockICategoryRepo)(nil).List), ctx, req)
}
