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

package mocks

import (
	context "context"

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

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

// Produce provides a mock function with given fields: ctx, value
func (_m *PredictionLogProducer) Produce(ctx context.Context, value interface{}) error {
	ret := _m.Called(ctx, value)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, interface{}) error); ok {
		r0 = rf(ctx, value)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

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

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

	return mock
}
