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

package mocks

import (
	mock "github.com/stretchr/testify/mock"
	event "github.com/tidbcloud/eventbus-datastruct/event"
)

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

// PublishAsync provides a mock function with given fields: data
func (_m *EventCenterPublisher) PublishAsync(data *event.DisplayEvent) {
	_m.Called(data)
}

type mockConstructorTestingTNewEventCenterPublisher interface {
	mock.TestingT
	Cleanup(func())
}

// NewEventCenterPublisher creates a new instance of EventCenterPublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewEventCenterPublisher(t mockConstructorTestingTNewEventCenterPublisher) *EventCenterPublisher {
	mock := &EventCenterPublisher{}
	mock.Mock.Test(t)

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

	return mock
}
