packagetestnetimport(gsnet"github.com/ipfs/go-graphsync/network""github.com/libp2p/go-libp2p-core/peer"tnet"github.com/libp2p/go-libp2p-testing/net")// Network is an interface for generating graphsync network interfaces// based on a test network.typeNetworkinterface{Adapter(tnet.Identity)gsnet.GraphSyncNetworkHasPeer(peer.ID)bool}