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

package mocks

import (
	slog "log/slog"

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

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

// HandleBroadcast provides a mock function with given fields: json
func (_m *Handler) HandleBroadcast(json []byte) {
	_m.Called(json)
}

// HandlePubSub provides a mock function with given fields: json
func (_m *Handler) HandlePubSub(json []byte) {
	_m.Called(json)
}

// Logger provides a mock function with given fields:
func (_m *Handler) Logger() *slog.Logger {
	ret := _m.Called()

	var r0 *slog.Logger
	if rf, ok := ret.Get(0).(func() *slog.Logger); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*slog.Logger)
		}
	}

	return r0
}

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

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

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

	return mock
}
