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

package mocks

import (
	context "context"

	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
}

// FlashExpressUpdateCourier provides a mock function with given fields: ctx, params
func (_m *Service) FlashExpressUpdateCourier(ctx context.Context, params *entities.FlashExpressUpdateCourierWebhookParams) error {
	ret := _m.Called(ctx, params)

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

	return r0
}

// UpdateShipmentStatus provides a mock function with given fields: ctx, shipmentEntity, shipmentStatusLog
func (_m *Service) UpdateShipmentStatus(ctx context.Context, shipmentEntity *entities.Shipment, shipmentStatusLog *entities.ShipmentStatusLog) error {
	ret := _m.Called(ctx, shipmentEntity, shipmentStatusLog)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, *entities.Shipment, *entities.ShipmentStatusLog) error); ok {
		r0 = rf(ctx, shipmentEntity, shipmentStatusLog)
	} 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
}
