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

package mock

import (
	context "context"

	mock "github.com/stretchr/testify/mock"
	entity "github.com/tidbcloud/dataflow-service-ng/app/repo/entity"
)

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

// HandleBizChangefeedEvent provides a mock function with given fields: ctx, event, userID, bizChangefeedEntity
func (_m *BizChangefeedHooker) HandleBizChangefeedEvent(ctx context.Context, event entity.DataflowEventType, userID uint64, bizChangefeedEntity *entity.BizChangefeed) {
	_m.Called(ctx, event, userID, bizChangefeedEntity)
}

// NewBizChangefeedHooker creates a new instance of BizChangefeedHooker. 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 NewBizChangefeedHooker(t interface {
	mock.TestingT
	Cleanup(func())
}) *BizChangefeedHooker {
	mock := &BizChangefeedHooker{}
	mock.Mock.Test(t)

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

	return mock
}
