@Override
  protected CompletableFuture<InetSocketAddress> listenForConnections() {
    isRunning = true;
    // Skip network setup for tests
    final InetSocketAddress address =
        new InetSocketAddress(config.getBindHost(), config.getBindPort());
    return CompletableFuture.completedFuture(address);
  }
Get and clear the list of any incoming packets to this agent.

@return A list of packets received by this agent
ethereum/p2p/src/test/java/org/hyperledger/besu/ethereum/p2p/discovery/internal/MockPeerDiscoveryAgent.java