// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//

// Code generated by MockGen. DO NOT EDIT.
// Source: amqpwrap.go

// Package amqpwrap is a generated GoMock package.
package amqpwrap

import (
	context "context"
	reflect "reflect"

	go_amqp "github.com/Azure/go-amqp"
	gomock "github.com/golang/mock/gomock"
)

// MockAMQPReceiver is a mock of AMQPReceiver interface.
type MockAMQPReceiver struct {
	ctrl     *gomock.Controller
	recorder *MockAMQPReceiverMockRecorder
}

// MockAMQPReceiverMockRecorder is the mock recorder for MockAMQPReceiver.
type MockAMQPReceiverMockRecorder struct {
	mock *MockAMQPReceiver
}

// NewMockAMQPReceiver creates a new mock instance.
func NewMockAMQPReceiver(ctrl *gomock.Controller) *MockAMQPReceiver {
	mock := &MockAMQPReceiver{ctrl: ctrl}
	mock.recorder = &MockAMQPReceiverMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockAMQPReceiver) EXPECT() *MockAMQPReceiverMockRecorder {
	return m.recorder
}

// AcceptMessage mocks base method.
func (m *MockAMQPReceiver) AcceptMessage(ctx context.Context, msg *go_amqp.Message) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AcceptMessage", ctx, msg)
	ret0, _ := ret[0].(error)
	return ret0
}

// AcceptMessage indicates an expected call of AcceptMessage.
func (mr *MockAMQPReceiverMockRecorder) AcceptMessage(ctx, msg interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AcceptMessage", reflect.TypeOf((*MockAMQPReceiver)(nil).AcceptMessage), ctx, msg)
}

// ConnID mocks base method.
func (m *MockAMQPReceiver) ConnID() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ConnID")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// ConnID indicates an expected call of ConnID.
func (mr *MockAMQPReceiverMockRecorder) ConnID() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnID", reflect.TypeOf((*MockAMQPReceiver)(nil).ConnID))
}

// Credits mocks base method.
func (m *MockAMQPReceiver) Credits() uint32 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Credits")
	ret0, _ := ret[0].(uint32)
	return ret0
}

// Credits indicates an expected call of Credits.
func (mr *MockAMQPReceiverMockRecorder) Credits() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Credits", reflect.TypeOf((*MockAMQPReceiver)(nil).Credits))
}

// IssueCredit mocks base method.
func (m *MockAMQPReceiver) IssueCredit(credit uint32) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "IssueCredit", credit)
	ret0, _ := ret[0].(error)
	return ret0
}

// IssueCredit indicates an expected call of IssueCredit.
func (mr *MockAMQPReceiverMockRecorder) IssueCredit(credit interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IssueCredit", reflect.TypeOf((*MockAMQPReceiver)(nil).IssueCredit), credit)
}

// LinkName mocks base method.
func (m *MockAMQPReceiver) LinkName() string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkName")
	ret0, _ := ret[0].(string)
	return ret0
}

// LinkName indicates an expected call of LinkName.
func (mr *MockAMQPReceiverMockRecorder) LinkName() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkName", reflect.TypeOf((*MockAMQPReceiver)(nil).LinkName))
}

// LinkSourceFilterValue mocks base method.
func (m *MockAMQPReceiver) LinkSourceFilterValue(name string) any {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkSourceFilterValue", name)
	ret0, _ := ret[0].(any)
	return ret0
}

// LinkSourceFilterValue indicates an expected call of LinkSourceFilterValue.
func (mr *MockAMQPReceiverMockRecorder) LinkSourceFilterValue(name interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkSourceFilterValue", reflect.TypeOf((*MockAMQPReceiver)(nil).LinkSourceFilterValue), name)
}

// ModifyMessage mocks base method.
func (m *MockAMQPReceiver) ModifyMessage(ctx context.Context, msg *go_amqp.Message, options *go_amqp.ModifyMessageOptions) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ModifyMessage", ctx, msg, options)
	ret0, _ := ret[0].(error)
	return ret0
}

// ModifyMessage indicates an expected call of ModifyMessage.
func (mr *MockAMQPReceiverMockRecorder) ModifyMessage(ctx, msg, options interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ModifyMessage", reflect.TypeOf((*MockAMQPReceiver)(nil).ModifyMessage), ctx, msg, options)
}

// Prefetched mocks base method.
func (m *MockAMQPReceiver) Prefetched() *go_amqp.Message {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Prefetched")
	ret0, _ := ret[0].(*go_amqp.Message)
	return ret0
}

// Prefetched indicates an expected call of Prefetched.
func (mr *MockAMQPReceiverMockRecorder) Prefetched() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Prefetched", reflect.TypeOf((*MockAMQPReceiver)(nil).Prefetched))
}

// Receive mocks base method.
func (m *MockAMQPReceiver) Receive(ctx context.Context, o *go_amqp.ReceiveOptions) (*go_amqp.Message, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Receive", ctx, o)
	ret0, _ := ret[0].(*go_amqp.Message)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Receive indicates an expected call of Receive.
func (mr *MockAMQPReceiverMockRecorder) Receive(ctx, o interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Receive", reflect.TypeOf((*MockAMQPReceiver)(nil).Receive), ctx, o)
}

// RejectMessage mocks base method.
func (m *MockAMQPReceiver) RejectMessage(ctx context.Context, msg *go_amqp.Message, e *go_amqp.Error) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RejectMessage", ctx, msg, e)
	ret0, _ := ret[0].(error)
	return ret0
}

// RejectMessage indicates an expected call of RejectMessage.
func (mr *MockAMQPReceiverMockRecorder) RejectMessage(ctx, msg, e interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RejectMessage", reflect.TypeOf((*MockAMQPReceiver)(nil).RejectMessage), ctx, msg, e)
}

// ReleaseMessage mocks base method.
func (m *MockAMQPReceiver) ReleaseMessage(ctx context.Context, msg *go_amqp.Message) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ReleaseMessage", ctx, msg)
	ret0, _ := ret[0].(error)
	return ret0
}

// ReleaseMessage indicates an expected call of ReleaseMessage.
func (mr *MockAMQPReceiverMockRecorder) ReleaseMessage(ctx, msg interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReleaseMessage", reflect.TypeOf((*MockAMQPReceiver)(nil).ReleaseMessage), ctx, msg)
}

// MockAMQPReceiverCloser is a mock of AMQPReceiverCloser interface.
type MockAMQPReceiverCloser struct {
	ctrl     *gomock.Controller
	recorder *MockAMQPReceiverCloserMockRecorder
}

// MockAMQPReceiverCloserMockRecorder is the mock recorder for MockAMQPReceiverCloser.
type MockAMQPReceiverCloserMockRecorder struct {
	mock *MockAMQPReceiverCloser
}

// NewMockAMQPReceiverCloser creates a new mock instance.
func NewMockAMQPReceiverCloser(ctrl *gomock.Controller) *MockAMQPReceiverCloser {
	mock := &MockAMQPReceiverCloser{ctrl: ctrl}
	mock.recorder = &MockAMQPReceiverCloserMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockAMQPReceiverCloser) EXPECT() *MockAMQPReceiverCloserMockRecorder {
	return m.recorder
}

// AcceptMessage mocks base method.
func (m *MockAMQPReceiverCloser) AcceptMessage(ctx context.Context, msg *go_amqp.Message) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AcceptMessage", ctx, msg)
	ret0, _ := ret[0].(error)
	return ret0
}

// AcceptMessage indicates an expected call of AcceptMessage.
func (mr *MockAMQPReceiverCloserMockRecorder) AcceptMessage(ctx, msg interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AcceptMessage", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).AcceptMessage), ctx, msg)
}

// Close mocks base method.
func (m *MockAMQPReceiverCloser) Close(ctx context.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close", ctx)
	ret0, _ := ret[0].(error)
	return ret0
}

// Close indicates an expected call of Close.
func (mr *MockAMQPReceiverCloserMockRecorder) Close(ctx interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).Close), ctx)
}

// ConnID mocks base method.
func (m *MockAMQPReceiverCloser) ConnID() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ConnID")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// ConnID indicates an expected call of ConnID.
func (mr *MockAMQPReceiverCloserMockRecorder) ConnID() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnID", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).ConnID))
}

// Credits mocks base method.
func (m *MockAMQPReceiverCloser) Credits() uint32 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Credits")
	ret0, _ := ret[0].(uint32)
	return ret0
}

// Credits indicates an expected call of Credits.
func (mr *MockAMQPReceiverCloserMockRecorder) Credits() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Credits", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).Credits))
}

// IssueCredit mocks base method.
func (m *MockAMQPReceiverCloser) IssueCredit(credit uint32) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "IssueCredit", credit)
	ret0, _ := ret[0].(error)
	return ret0
}

// IssueCredit indicates an expected call of IssueCredit.
func (mr *MockAMQPReceiverCloserMockRecorder) IssueCredit(credit interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IssueCredit", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).IssueCredit), credit)
}

// LinkName mocks base method.
func (m *MockAMQPReceiverCloser) LinkName() string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkName")
	ret0, _ := ret[0].(string)
	return ret0
}

// LinkName indicates an expected call of LinkName.
func (mr *MockAMQPReceiverCloserMockRecorder) LinkName() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkName", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).LinkName))
}

// LinkSourceFilterValue mocks base method.
func (m *MockAMQPReceiverCloser) LinkSourceFilterValue(name string) any {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkSourceFilterValue", name)
	ret0, _ := ret[0].(any)
	return ret0
}

// LinkSourceFilterValue indicates an expected call of LinkSourceFilterValue.
func (mr *MockAMQPReceiverCloserMockRecorder) LinkSourceFilterValue(name interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkSourceFilterValue", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).LinkSourceFilterValue), name)
}

// ModifyMessage mocks base method.
func (m *MockAMQPReceiverCloser) ModifyMessage(ctx context.Context, msg *go_amqp.Message, options *go_amqp.ModifyMessageOptions) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ModifyMessage", ctx, msg, options)
	ret0, _ := ret[0].(error)
	return ret0
}

// ModifyMessage indicates an expected call of ModifyMessage.
func (mr *MockAMQPReceiverCloserMockRecorder) ModifyMessage(ctx, msg, options interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ModifyMessage", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).ModifyMessage), ctx, msg, options)
}

// Prefetched mocks base method.
func (m *MockAMQPReceiverCloser) Prefetched() *go_amqp.Message {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Prefetched")
	ret0, _ := ret[0].(*go_amqp.Message)
	return ret0
}

// Prefetched indicates an expected call of Prefetched.
func (mr *MockAMQPReceiverCloserMockRecorder) Prefetched() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Prefetched", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).Prefetched))
}

// Receive mocks base method.
func (m *MockAMQPReceiverCloser) Receive(ctx context.Context, o *go_amqp.ReceiveOptions) (*go_amqp.Message, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Receive", ctx, o)
	ret0, _ := ret[0].(*go_amqp.Message)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Receive indicates an expected call of Receive.
func (mr *MockAMQPReceiverCloserMockRecorder) Receive(ctx, o interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Receive", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).Receive), ctx, o)
}

// RejectMessage mocks base method.
func (m *MockAMQPReceiverCloser) RejectMessage(ctx context.Context, msg *go_amqp.Message, e *go_amqp.Error) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RejectMessage", ctx, msg, e)
	ret0, _ := ret[0].(error)
	return ret0
}

// RejectMessage indicates an expected call of RejectMessage.
func (mr *MockAMQPReceiverCloserMockRecorder) RejectMessage(ctx, msg, e interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RejectMessage", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).RejectMessage), ctx, msg, e)
}

// ReleaseMessage mocks base method.
func (m *MockAMQPReceiverCloser) ReleaseMessage(ctx context.Context, msg *go_amqp.Message) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ReleaseMessage", ctx, msg)
	ret0, _ := ret[0].(error)
	return ret0
}

// ReleaseMessage indicates an expected call of ReleaseMessage.
func (mr *MockAMQPReceiverCloserMockRecorder) ReleaseMessage(ctx, msg interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReleaseMessage", reflect.TypeOf((*MockAMQPReceiverCloser)(nil).ReleaseMessage), ctx, msg)
}

// MockAMQPSender is a mock of AMQPSender interface.
type MockAMQPSender struct {
	ctrl     *gomock.Controller
	recorder *MockAMQPSenderMockRecorder
}

// MockAMQPSenderMockRecorder is the mock recorder for MockAMQPSender.
type MockAMQPSenderMockRecorder struct {
	mock *MockAMQPSender
}

// NewMockAMQPSender creates a new mock instance.
func NewMockAMQPSender(ctrl *gomock.Controller) *MockAMQPSender {
	mock := &MockAMQPSender{ctrl: ctrl}
	mock.recorder = &MockAMQPSenderMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockAMQPSender) EXPECT() *MockAMQPSenderMockRecorder {
	return m.recorder
}

// ConnID mocks base method.
func (m *MockAMQPSender) ConnID() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ConnID")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// ConnID indicates an expected call of ConnID.
func (mr *MockAMQPSenderMockRecorder) ConnID() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnID", reflect.TypeOf((*MockAMQPSender)(nil).ConnID))
}

// LinkName mocks base method.
func (m *MockAMQPSender) LinkName() string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkName")
	ret0, _ := ret[0].(string)
	return ret0
}

// LinkName indicates an expected call of LinkName.
func (mr *MockAMQPSenderMockRecorder) LinkName() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkName", reflect.TypeOf((*MockAMQPSender)(nil).LinkName))
}

// MaxMessageSize mocks base method.
func (m *MockAMQPSender) MaxMessageSize() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "MaxMessageSize")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// MaxMessageSize indicates an expected call of MaxMessageSize.
func (mr *MockAMQPSenderMockRecorder) MaxMessageSize() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MaxMessageSize", reflect.TypeOf((*MockAMQPSender)(nil).MaxMessageSize))
}

// Send mocks base method.
func (m *MockAMQPSender) Send(ctx context.Context, msg *go_amqp.Message, o *go_amqp.SendOptions) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Send", ctx, msg, o)
	ret0, _ := ret[0].(error)
	return ret0
}

// Send indicates an expected call of Send.
func (mr *MockAMQPSenderMockRecorder) Send(ctx, msg, o interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockAMQPSender)(nil).Send), ctx, msg, o)
}

// MockAMQPSenderCloser is a mock of AMQPSenderCloser interface.
type MockAMQPSenderCloser struct {
	ctrl     *gomock.Controller
	recorder *MockAMQPSenderCloserMockRecorder
}

// MockAMQPSenderCloserMockRecorder is the mock recorder for MockAMQPSenderCloser.
type MockAMQPSenderCloserMockRecorder struct {
	mock *MockAMQPSenderCloser
}

// NewMockAMQPSenderCloser creates a new mock instance.
func NewMockAMQPSenderCloser(ctrl *gomock.Controller) *MockAMQPSenderCloser {
	mock := &MockAMQPSenderCloser{ctrl: ctrl}
	mock.recorder = &MockAMQPSenderCloserMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockAMQPSenderCloser) EXPECT() *MockAMQPSenderCloserMockRecorder {
	return m.recorder
}

// Close mocks base method.
func (m *MockAMQPSenderCloser) Close(ctx context.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close", ctx)
	ret0, _ := ret[0].(error)
	return ret0
}

// Close indicates an expected call of Close.
func (mr *MockAMQPSenderCloserMockRecorder) Close(ctx interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockAMQPSenderCloser)(nil).Close), ctx)
}

// ConnID mocks base method.
func (m *MockAMQPSenderCloser) ConnID() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ConnID")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// ConnID indicates an expected call of ConnID.
func (mr *MockAMQPSenderCloserMockRecorder) ConnID() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnID", reflect.TypeOf((*MockAMQPSenderCloser)(nil).ConnID))
}

// LinkName mocks base method.
func (m *MockAMQPSenderCloser) LinkName() string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkName")
	ret0, _ := ret[0].(string)
	return ret0
}

// LinkName indicates an expected call of LinkName.
func (mr *MockAMQPSenderCloserMockRecorder) LinkName() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkName", reflect.TypeOf((*MockAMQPSenderCloser)(nil).LinkName))
}

// MaxMessageSize mocks base method.
func (m *MockAMQPSenderCloser) MaxMessageSize() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "MaxMessageSize")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// MaxMessageSize indicates an expected call of MaxMessageSize.
func (mr *MockAMQPSenderCloserMockRecorder) MaxMessageSize() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MaxMessageSize", reflect.TypeOf((*MockAMQPSenderCloser)(nil).MaxMessageSize))
}

// Send mocks base method.
func (m *MockAMQPSenderCloser) Send(ctx context.Context, msg *go_amqp.Message, o *go_amqp.SendOptions) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Send", ctx, msg, o)
	ret0, _ := ret[0].(error)
	return ret0
}

// Send indicates an expected call of Send.
func (mr *MockAMQPSenderCloserMockRecorder) Send(ctx, msg, o interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockAMQPSenderCloser)(nil).Send), ctx, msg, o)
}

// MockAMQPSession is a mock of AMQPSession interface.
type MockAMQPSession struct {
	ctrl     *gomock.Controller
	recorder *MockAMQPSessionMockRecorder
}

// MockAMQPSessionMockRecorder is the mock recorder for MockAMQPSession.
type MockAMQPSessionMockRecorder struct {
	mock *MockAMQPSession
}

// NewMockAMQPSession creates a new mock instance.
func NewMockAMQPSession(ctrl *gomock.Controller) *MockAMQPSession {
	mock := &MockAMQPSession{ctrl: ctrl}
	mock.recorder = &MockAMQPSessionMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockAMQPSession) EXPECT() *MockAMQPSessionMockRecorder {
	return m.recorder
}

// Close mocks base method.
func (m *MockAMQPSession) Close(ctx context.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close", ctx)
	ret0, _ := ret[0].(error)
	return ret0
}

// Close indicates an expected call of Close.
func (mr *MockAMQPSessionMockRecorder) Close(ctx interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockAMQPSession)(nil).Close), ctx)
}

// ConnID mocks base method.
func (m *MockAMQPSession) ConnID() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ConnID")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// ConnID indicates an expected call of ConnID.
func (mr *MockAMQPSessionMockRecorder) ConnID() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnID", reflect.TypeOf((*MockAMQPSession)(nil).ConnID))
}

// NewReceiver mocks base method.
func (m *MockAMQPSession) NewReceiver(ctx context.Context, source, partitionID string, opts *go_amqp.ReceiverOptions) (AMQPReceiverCloser, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "NewReceiver", ctx, source, partitionID, opts)
	ret0, _ := ret[0].(AMQPReceiverCloser)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// NewReceiver indicates an expected call of NewReceiver.
func (mr *MockAMQPSessionMockRecorder) NewReceiver(ctx, source, partitionID, opts interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewReceiver", reflect.TypeOf((*MockAMQPSession)(nil).NewReceiver), ctx, source, partitionID, opts)
}

// NewSender mocks base method.
func (m *MockAMQPSession) NewSender(ctx context.Context, target, partitionID string, opts *go_amqp.SenderOptions) (AMQPSenderCloser, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "NewSender", ctx, target, partitionID, opts)
	ret0, _ := ret[0].(AMQPSenderCloser)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// NewSender indicates an expected call of NewSender.
func (mr *MockAMQPSessionMockRecorder) NewSender(ctx, target, partitionID, opts interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSender", reflect.TypeOf((*MockAMQPSession)(nil).NewSender), ctx, target, partitionID, opts)
}

// MockAMQPClient is a mock of AMQPClient interface.
type MockAMQPClient struct {
	ctrl     *gomock.Controller
	recorder *MockAMQPClientMockRecorder
}

// MockAMQPClientMockRecorder is the mock recorder for MockAMQPClient.
type MockAMQPClientMockRecorder struct {
	mock *MockAMQPClient
}

// NewMockAMQPClient creates a new mock instance.
func NewMockAMQPClient(ctrl *gomock.Controller) *MockAMQPClient {
	mock := &MockAMQPClient{ctrl: ctrl}
	mock.recorder = &MockAMQPClientMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockAMQPClient) EXPECT() *MockAMQPClientMockRecorder {
	return m.recorder
}

// Close mocks base method.
func (m *MockAMQPClient) Close() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close")
	ret0, _ := ret[0].(error)
	return ret0
}

// Close indicates an expected call of Close.
func (mr *MockAMQPClientMockRecorder) Close() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockAMQPClient)(nil).Close))
}

// ID mocks base method.
func (m *MockAMQPClient) ID() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ID")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// ID indicates an expected call of ID.
func (mr *MockAMQPClientMockRecorder) ID() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ID", reflect.TypeOf((*MockAMQPClient)(nil).ID))
}

// NewSession mocks base method.
func (m *MockAMQPClient) NewSession(ctx context.Context, opts *go_amqp.SessionOptions) (AMQPSession, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "NewSession", ctx, opts)
	ret0, _ := ret[0].(AMQPSession)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// NewSession indicates an expected call of NewSession.
func (mr *MockAMQPClientMockRecorder) NewSession(ctx, opts interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSession", reflect.TypeOf((*MockAMQPClient)(nil).NewSession), ctx, opts)
}

// MockgoamqpConn is a mock of goamqpConn interface.
type MockgoamqpConn struct {
	ctrl     *gomock.Controller
	recorder *MockgoamqpConnMockRecorder
}

// MockgoamqpConnMockRecorder is the mock recorder for MockgoamqpConn.
type MockgoamqpConnMockRecorder struct {
	mock *MockgoamqpConn
}

// NewMockgoamqpConn creates a new mock instance.
func NewMockgoamqpConn(ctrl *gomock.Controller) *MockgoamqpConn {
	mock := &MockgoamqpConn{ctrl: ctrl}
	mock.recorder = &MockgoamqpConnMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockgoamqpConn) EXPECT() *MockgoamqpConnMockRecorder {
	return m.recorder
}

// Close mocks base method.
func (m *MockgoamqpConn) Close() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close")
	ret0, _ := ret[0].(error)
	return ret0
}

// Close indicates an expected call of Close.
func (mr *MockgoamqpConnMockRecorder) Close() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockgoamqpConn)(nil).Close))
}

// NewSession mocks base method.
func (m *MockgoamqpConn) NewSession(ctx context.Context, opts *go_amqp.SessionOptions) (*go_amqp.Session, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "NewSession", ctx, opts)
	ret0, _ := ret[0].(*go_amqp.Session)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// NewSession indicates an expected call of NewSession.
func (mr *MockgoamqpConnMockRecorder) NewSession(ctx, opts interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSession", reflect.TypeOf((*MockgoamqpConn)(nil).NewSession), ctx, opts)
}

// MockgoamqpSession is a mock of goamqpSession interface.
type MockgoamqpSession struct {
	ctrl     *gomock.Controller
	recorder *MockgoamqpSessionMockRecorder
}

// MockgoamqpSessionMockRecorder is the mock recorder for MockgoamqpSession.
type MockgoamqpSessionMockRecorder struct {
	mock *MockgoamqpSession
}

// NewMockgoamqpSession creates a new mock instance.
func NewMockgoamqpSession(ctrl *gomock.Controller) *MockgoamqpSession {
	mock := &MockgoamqpSession{ctrl: ctrl}
	mock.recorder = &MockgoamqpSessionMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockgoamqpSession) EXPECT() *MockgoamqpSessionMockRecorder {
	return m.recorder
}

// Close mocks base method.
func (m *MockgoamqpSession) Close(ctx context.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close", ctx)
	ret0, _ := ret[0].(error)
	return ret0
}

// Close indicates an expected call of Close.
func (mr *MockgoamqpSessionMockRecorder) Close(ctx interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockgoamqpSession)(nil).Close), ctx)
}

// NewReceiver mocks base method.
func (m *MockgoamqpSession) NewReceiver(ctx context.Context, source string, opts *go_amqp.ReceiverOptions) (*go_amqp.Receiver, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "NewReceiver", ctx, source, opts)
	ret0, _ := ret[0].(*go_amqp.Receiver)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// NewReceiver indicates an expected call of NewReceiver.
func (mr *MockgoamqpSessionMockRecorder) NewReceiver(ctx, source, opts interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewReceiver", reflect.TypeOf((*MockgoamqpSession)(nil).NewReceiver), ctx, source, opts)
}

// NewSender mocks base method.
func (m *MockgoamqpSession) NewSender(ctx context.Context, target string, opts *go_amqp.SenderOptions) (*go_amqp.Sender, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "NewSender", ctx, target, opts)
	ret0, _ := ret[0].(*go_amqp.Sender)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// NewSender indicates an expected call of NewSender.
func (mr *MockgoamqpSessionMockRecorder) NewSender(ctx, target, opts interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSender", reflect.TypeOf((*MockgoamqpSession)(nil).NewSender), ctx, target, opts)
}

// MockgoamqpReceiver is a mock of goamqpReceiver interface.
type MockgoamqpReceiver struct {
	ctrl     *gomock.Controller
	recorder *MockgoamqpReceiverMockRecorder
}

// MockgoamqpReceiverMockRecorder is the mock recorder for MockgoamqpReceiver.
type MockgoamqpReceiverMockRecorder struct {
	mock *MockgoamqpReceiver
}

// NewMockgoamqpReceiver creates a new mock instance.
func NewMockgoamqpReceiver(ctrl *gomock.Controller) *MockgoamqpReceiver {
	mock := &MockgoamqpReceiver{ctrl: ctrl}
	mock.recorder = &MockgoamqpReceiverMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockgoamqpReceiver) EXPECT() *MockgoamqpReceiverMockRecorder {
	return m.recorder
}

// AcceptMessage mocks base method.
func (m *MockgoamqpReceiver) AcceptMessage(ctx context.Context, msg *go_amqp.Message) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AcceptMessage", ctx, msg)
	ret0, _ := ret[0].(error)
	return ret0
}

// AcceptMessage indicates an expected call of AcceptMessage.
func (mr *MockgoamqpReceiverMockRecorder) AcceptMessage(ctx, msg interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AcceptMessage", reflect.TypeOf((*MockgoamqpReceiver)(nil).AcceptMessage), ctx, msg)
}

// Close mocks base method.
func (m *MockgoamqpReceiver) Close(ctx context.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close", ctx)
	ret0, _ := ret[0].(error)
	return ret0
}

// Close indicates an expected call of Close.
func (mr *MockgoamqpReceiverMockRecorder) Close(ctx interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockgoamqpReceiver)(nil).Close), ctx)
}

// IssueCredit mocks base method.
func (m *MockgoamqpReceiver) IssueCredit(credit uint32) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "IssueCredit", credit)
	ret0, _ := ret[0].(error)
	return ret0
}

// IssueCredit indicates an expected call of IssueCredit.
func (mr *MockgoamqpReceiverMockRecorder) IssueCredit(credit interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IssueCredit", reflect.TypeOf((*MockgoamqpReceiver)(nil).IssueCredit), credit)
}

// LinkName mocks base method.
func (m *MockgoamqpReceiver) LinkName() string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkName")
	ret0, _ := ret[0].(string)
	return ret0
}

// LinkName indicates an expected call of LinkName.
func (mr *MockgoamqpReceiverMockRecorder) LinkName() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkName", reflect.TypeOf((*MockgoamqpReceiver)(nil).LinkName))
}

// LinkSourceFilterValue mocks base method.
func (m *MockgoamqpReceiver) LinkSourceFilterValue(name string) any {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkSourceFilterValue", name)
	ret0, _ := ret[0].(any)
	return ret0
}

// LinkSourceFilterValue indicates an expected call of LinkSourceFilterValue.
func (mr *MockgoamqpReceiverMockRecorder) LinkSourceFilterValue(name interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkSourceFilterValue", reflect.TypeOf((*MockgoamqpReceiver)(nil).LinkSourceFilterValue), name)
}

// ModifyMessage mocks base method.
func (m *MockgoamqpReceiver) ModifyMessage(ctx context.Context, msg *go_amqp.Message, options *go_amqp.ModifyMessageOptions) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ModifyMessage", ctx, msg, options)
	ret0, _ := ret[0].(error)
	return ret0
}

// ModifyMessage indicates an expected call of ModifyMessage.
func (mr *MockgoamqpReceiverMockRecorder) ModifyMessage(ctx, msg, options interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ModifyMessage", reflect.TypeOf((*MockgoamqpReceiver)(nil).ModifyMessage), ctx, msg, options)
}

// Prefetched mocks base method.
func (m *MockgoamqpReceiver) Prefetched() *go_amqp.Message {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Prefetched")
	ret0, _ := ret[0].(*go_amqp.Message)
	return ret0
}

// Prefetched indicates an expected call of Prefetched.
func (mr *MockgoamqpReceiverMockRecorder) Prefetched() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Prefetched", reflect.TypeOf((*MockgoamqpReceiver)(nil).Prefetched))
}

// Receive mocks base method.
func (m *MockgoamqpReceiver) Receive(ctx context.Context, o *go_amqp.ReceiveOptions) (*go_amqp.Message, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Receive", ctx, o)
	ret0, _ := ret[0].(*go_amqp.Message)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Receive indicates an expected call of Receive.
func (mr *MockgoamqpReceiverMockRecorder) Receive(ctx, o interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Receive", reflect.TypeOf((*MockgoamqpReceiver)(nil).Receive), ctx, o)
}

// RejectMessage mocks base method.
func (m *MockgoamqpReceiver) RejectMessage(ctx context.Context, msg *go_amqp.Message, e *go_amqp.Error) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RejectMessage", ctx, msg, e)
	ret0, _ := ret[0].(error)
	return ret0
}

// RejectMessage indicates an expected call of RejectMessage.
func (mr *MockgoamqpReceiverMockRecorder) RejectMessage(ctx, msg, e interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RejectMessage", reflect.TypeOf((*MockgoamqpReceiver)(nil).RejectMessage), ctx, msg, e)
}

// ReleaseMessage mocks base method.
func (m *MockgoamqpReceiver) ReleaseMessage(ctx context.Context, msg *go_amqp.Message) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ReleaseMessage", ctx, msg)
	ret0, _ := ret[0].(error)
	return ret0
}

// ReleaseMessage indicates an expected call of ReleaseMessage.
func (mr *MockgoamqpReceiverMockRecorder) ReleaseMessage(ctx, msg interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReleaseMessage", reflect.TypeOf((*MockgoamqpReceiver)(nil).ReleaseMessage), ctx, msg)
}

// MockgoamqpSender is a mock of goamqpSender interface.
type MockgoamqpSender struct {
	ctrl     *gomock.Controller
	recorder *MockgoamqpSenderMockRecorder
}

// MockgoamqpSenderMockRecorder is the mock recorder for MockgoamqpSender.
type MockgoamqpSenderMockRecorder struct {
	mock *MockgoamqpSender
}

// NewMockgoamqpSender creates a new mock instance.
func NewMockgoamqpSender(ctrl *gomock.Controller) *MockgoamqpSender {
	mock := &MockgoamqpSender{ctrl: ctrl}
	mock.recorder = &MockgoamqpSenderMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockgoamqpSender) EXPECT() *MockgoamqpSenderMockRecorder {
	return m.recorder
}

// Close mocks base method.
func (m *MockgoamqpSender) Close(ctx context.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close", ctx)
	ret0, _ := ret[0].(error)
	return ret0
}

// Close indicates an expected call of Close.
func (mr *MockgoamqpSenderMockRecorder) Close(ctx interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockgoamqpSender)(nil).Close), ctx)
}

// LinkName mocks base method.
func (m *MockgoamqpSender) LinkName() string {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "LinkName")
	ret0, _ := ret[0].(string)
	return ret0
}

// LinkName indicates an expected call of LinkName.
func (mr *MockgoamqpSenderMockRecorder) LinkName() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LinkName", reflect.TypeOf((*MockgoamqpSender)(nil).LinkName))
}

// MaxMessageSize mocks base method.
func (m *MockgoamqpSender) MaxMessageSize() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "MaxMessageSize")
	ret0, _ := ret[0].(uint64)
	return ret0
}

// MaxMessageSize indicates an expected call of MaxMessageSize.
func (mr *MockgoamqpSenderMockRecorder) MaxMessageSize() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MaxMessageSize", reflect.TypeOf((*MockgoamqpSender)(nil).MaxMessageSize))
}

// Send mocks base method.
func (m *MockgoamqpSender) Send(ctx context.Context, msg *go_amqp.Message, o *go_amqp.SendOptions) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Send", ctx, msg, o)
	ret0, _ := ret[0].(error)
	return ret0
}

// Send indicates an expected call of Send.
func (mr *MockgoamqpSenderMockRecorder) Send(ctx, msg, o interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockgoamqpSender)(nil).Send), ctx, msg, o)
}
