// Code generated by MockGen. DO NOT EDIT.
// Source: skill_release_history.go
//
// Generated by this command:
//
//	mockgen -source=skill_release_history.go -destination=../../mocks/model_skill_release_history.go -package=mocks
//

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

import (
	context "context"
	sql "database/sql"
	reflect "reflect"

	model "github.com/kweaver-ai/adp/execution-factory/operator-integration/server/interfaces/model"
	gomock "go.uber.org/mock/gomock"
)

// MockISkillReleaseHistoryDB is a mock of ISkillReleaseHistoryDB interface.
type MockISkillReleaseHistoryDB struct {
	ctrl     *gomock.Controller
	recorder *MockISkillReleaseHistoryDBMockRecorder
	isgomock struct{}
}

// MockISkillReleaseHistoryDBMockRecorder is the mock recorder for MockISkillReleaseHistoryDB.
type MockISkillReleaseHistoryDBMockRecorder struct {
	mock *MockISkillReleaseHistoryDB
}

// NewMockISkillReleaseHistoryDB creates a new mock instance.
func NewMockISkillReleaseHistoryDB(ctrl *gomock.Controller) *MockISkillReleaseHistoryDB {
	mock := &MockISkillReleaseHistoryDB{ctrl: ctrl}
	mock.recorder = &MockISkillReleaseHistoryDBMockRecorder{mock}
	return mock
}

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

// DeleteByID mocks base method.
func (m *MockISkillReleaseHistoryDB) DeleteByID(ctx context.Context, tx *sql.Tx, id int64) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteByID", ctx, tx, id)
	ret0, _ := ret[0].(error)
	return ret0
}

// DeleteByID indicates an expected call of DeleteByID.
func (mr *MockISkillReleaseHistoryDBMockRecorder) DeleteByID(ctx, tx, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteByID", reflect.TypeOf((*MockISkillReleaseHistoryDB)(nil).DeleteByID), ctx, tx, id)
}

// DeleteBySkillID mocks base method.
func (m *MockISkillReleaseHistoryDB) DeleteBySkillID(ctx context.Context, tx *sql.Tx, skillID string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteBySkillID", ctx, tx, skillID)
	ret0, _ := ret[0].(error)
	return ret0
}

// DeleteBySkillID indicates an expected call of DeleteBySkillID.
func (mr *MockISkillReleaseHistoryDBMockRecorder) DeleteBySkillID(ctx, tx, skillID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBySkillID", reflect.TypeOf((*MockISkillReleaseHistoryDB)(nil).DeleteBySkillID), ctx, tx, skillID)
}

// Insert mocks base method.
func (m *MockISkillReleaseHistoryDB) Insert(ctx context.Context, tx *sql.Tx, history *model.SkillReleaseHistoryDB) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Insert", ctx, tx, history)
	ret0, _ := ret[0].(error)
	return ret0
}

// Insert indicates an expected call of Insert.
func (mr *MockISkillReleaseHistoryDBMockRecorder) Insert(ctx, tx, history any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Insert", reflect.TypeOf((*MockISkillReleaseHistoryDB)(nil).Insert), ctx, tx, history)
}

// SelectBySkillID mocks base method.
func (m *MockISkillReleaseHistoryDB) SelectBySkillID(ctx context.Context, tx *sql.Tx, skillID string) ([]*model.SkillReleaseHistoryDB, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SelectBySkillID", ctx, tx, skillID)
	ret0, _ := ret[0].([]*model.SkillReleaseHistoryDB)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SelectBySkillID indicates an expected call of SelectBySkillID.
func (mr *MockISkillReleaseHistoryDBMockRecorder) SelectBySkillID(ctx, tx, skillID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelectBySkillID", reflect.TypeOf((*MockISkillReleaseHistoryDB)(nil).SelectBySkillID), ctx, tx, skillID)
}

// SelectBySkillIDAndVersion mocks base method.
func (m *MockISkillReleaseHistoryDB) SelectBySkillIDAndVersion(ctx context.Context, tx *sql.Tx, skillID, version string) (*model.SkillReleaseHistoryDB, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SelectBySkillIDAndVersion", ctx, tx, skillID, version)
	ret0, _ := ret[0].(*model.SkillReleaseHistoryDB)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SelectBySkillIDAndVersion indicates an expected call of SelectBySkillIDAndVersion.
func (mr *MockISkillReleaseHistoryDBMockRecorder) SelectBySkillIDAndVersion(ctx, tx, skillID, version any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelectBySkillIDAndVersion", reflect.TypeOf((*MockISkillReleaseHistoryDB)(nil).SelectBySkillIDAndVersion), ctx, tx, skillID, version)
}
