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

package mocks

import (
	entities "github.com/UpmeshLTD/urus-aio/infrastructure/db/entities"
	mock "github.com/stretchr/testify/mock"
)

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

// PublishShipmentArchivedMessage provides a mock function with given fields: shipment
func (_m *Service) PublishShipmentArchivedMessage(shipment *entities.Shipment) error {
	ret := _m.Called(shipment)

	var r0 error
	if rf, ok := ret.Get(0).(func(*entities.Shipment) error); ok {
		r0 = rf(shipment)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// PublishShipmentStatusChangedMessage provides a mock function with given fields: shipment
func (_m *Service) PublishShipmentStatusChangedMessage(shipment *entities.Shipment) error {
	ret := _m.Called(shipment)

	var r0 error
	if rf, ok := ret.Get(0).(func(*entities.Shipment) error); ok {
		r0 = rf(shipment)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

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

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

	return mock
}
