// Code generated by MockGen. DO NOT EDIT.
// Source: ./internel/dao/security/security.go

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

import (
	context "context"
	reflect "reflect"

	gomock "github.com/golang/mock/gomock"
	entity "github.com/tidbcloud/account/internel/dao/entity"
	gorm "gorm.io/gorm"
)

// MockSecurityDaoIface is a mock of SecurityDaoIface interface.
type MockSecurityDaoIface struct {
	ctrl     *gomock.Controller
	recorder *MockSecurityDaoIfaceMockRecorder
}

// MockSecurityDaoIfaceMockRecorder is the mock recorder for MockSecurityDaoIface.
type MockSecurityDaoIfaceMockRecorder struct {
	mock *MockSecurityDaoIface
}

// NewMockSecurityDaoIface creates a new mock instance.
func NewMockSecurityDaoIface(ctrl *gomock.Controller) *MockSecurityDaoIface {
	mock := &MockSecurityDaoIface{ctrl: ctrl}
	mock.recorder = &MockSecurityDaoIfaceMockRecorder{mock}
	return mock
}

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

// CreateAuditLog mocks base method.
func (m *MockSecurityDaoIface) CreateAuditLog(ctx context.Context, tx *gorm.DB, orgID uint64, userEmail, content string) (*entity.AuditLog, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateAuditLog", ctx, tx, orgID, userEmail, content)
	ret0, _ := ret[0].(*entity.AuditLog)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// CreateAuditLog indicates an expected call of CreateAuditLog.
func (mr *MockSecurityDaoIfaceMockRecorder) CreateAuditLog(ctx, tx, orgID, userEmail, content interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAuditLog", reflect.TypeOf((*MockSecurityDaoIface)(nil).CreateAuditLog), ctx, tx, orgID, userEmail, content)
}
