// Code generated by mockery v2.53.3. DO NOT EDIT.

package mock

import (
	entity "github.com/tidbcloud/dataflow-service/app/repo/entity"
	gorm "gorm.io/gorm"

	mock "github.com/stretchr/testify/mock"
)

// DataflowEventHookerManager is an autogenerated mock type for the DataflowEventHookerManager type
type DataflowEventHookerManager struct {
	mock.Mock
}

// Register provides a mock function with given fields: hook
func (_m *DataflowEventHookerManager) Register(hook entity.DataflowEventHooker) {
	_m.Called(hook)
}

// RunAfterSave provides a mock function with given fields: eventType, tx, v
func (_m *DataflowEventHookerManager) RunAfterSave(eventType entity.DataflowEventType, tx *gorm.DB, v interface{}) {
	_m.Called(eventType, tx, v)
}

// RunBeforeSave provides a mock function with given fields: eventType, tx, v
func (_m *DataflowEventHookerManager) RunBeforeSave(eventType entity.DataflowEventType, tx *gorm.DB, v interface{}) {
	_m.Called(eventType, tx, v)
}

// NewDataflowEventHookerManager creates a new instance of DataflowEventHookerManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewDataflowEventHookerManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *DataflowEventHookerManager {
	mock := &DataflowEventHookerManager{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
