func (m *MockConnectionGater) InterceptUpgraded(arg0 network.Conn) (bool, control.DisconnectReason) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InterceptUpgraded", arg0)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(control.DisconnectReason)
	return ret0, ret1
}
InterceptUpgraded mocks base method.
package libp2pquic
import (
	reflect "reflect"
	gomock "github.com/golang/mock/gomock"
	control "github.com/libp2p/go-libp2p-core/control"
	network "github.com/libp2p/go-libp2p-core/network"
	peer "github.com/libp2p/go-libp2p-core/peer"
	multiaddr "github.com/multiformats/go-multiaddr"
)
type MockConnectionGater struct {
	ctrl     *gomock.Controller
	recorder *MockConnectionGaterMockRecorder
}
type MockConnectionGaterMockRecorder struct {
	mock *MockConnectionGater
}
func NewMockConnectionGater(ctrl *gomock.Controller) *MockConnectionGater {
	mock := &MockConnectionGater{ctrl: ctrl}
	mock.recorder = &MockConnectionGaterMockRecorder{mock}
	return mock
}
func (m *MockConnectionGater) EXPECT() *MockConnectionGaterMockRecorder {
	return m.recorder
}
func (m *MockConnectionGater) InterceptAccept(arg0 network.ConnMultiaddrs) bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InterceptAccept", arg0)
	ret0, _ := ret[0].(bool)
	return ret0
}
func (mr *MockConnectionGaterMockRecorder) InterceptAccept(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InterceptAccept", reflect.TypeOf((*MockConnectionGater)(nil).InterceptAccept), arg0)
}
func (m *MockConnectionGater) InterceptAddrDial(arg0 peer.ID, arg1 multiaddr.Multiaddr) bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InterceptAddrDial", arg0, arg1)
	ret0, _ := ret[0].(bool)
	return ret0
}
func (mr *MockConnectionGaterMockRecorder) InterceptAddrDial(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InterceptAddrDial", reflect.TypeOf((*MockConnectionGater)(nil).InterceptAddrDial), arg0, arg1)
}
func (m *MockConnectionGater) InterceptPeerDial(arg0 peer.ID) bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InterceptPeerDial", arg0)
	ret0, _ := ret[0].(bool)
	return ret0
}
func (mr *MockConnectionGaterMockRecorder) InterceptPeerDial(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InterceptPeerDial", reflect.TypeOf((*MockConnectionGater)(nil).InterceptPeerDial), arg0)
}
func (m *MockConnectionGater) InterceptSecured(arg0 network.Direction, arg1 peer.ID, arg2 network.ConnMultiaddrs) bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InterceptSecured", arg0, arg1, arg2)
	ret0, _ := ret[0].(bool)
	return ret0
}
func (mr *MockConnectionGaterMockRecorder) InterceptSecured(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InterceptSecured", reflect.TypeOf((*MockConnectionGater)(nil).InterceptSecured), arg0, arg1, arg2)
}