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

package state

import (
	stream "github.com/hashicorp/consul/agent/consul/stream"
	mock "github.com/stretchr/testify/mock"
)

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

// Execute provides a mock function with given fields: events
func (_m *mockPublishFuncType) Execute(events []stream.Event) {
	_m.Called(events)
}

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

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

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

	return mock
}
