// Code generated by mockery v2.14.0. DO NOT EDIT.
packagemocks
import(
mock"github.com/stretchr/testify/mock"
peer"github.com/libp2p/go-libp2p/core/peer"
)
// PeerGater is an autogenerated mock type for the PeerGater type
typePeerGaterstruct{
mock.Mock
}
// Update provides a mock function with given fields: _a0, _a1
func(_m*PeerGater)Update(_a0peer.ID,_a1float64){
_m.Called(_a0,_a1)
}
typemockConstructorTestingTNewPeerGaterinterface{
mock.TestingT
Cleanup(func())
}
// NewPeerGater creates a new instance of PeerGater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.