def METHOD_NAME(self):
    skip_if_no_py3_zmq()
    skip_if_no_bitcoind_zmq(self)
    import zmq
    # Initialize ZMQ context and socket.
    # All messages are received in the same socket which means
    # that this test fails if the publishing order changes.
    # Note that the publishing order is not defined in the documentation and
    # is subject to change.
    address = "tcp://127.0.0.1:28332"
    self.zmq_context = zmq.Context()
    socket = self.zmq_context.socket(zmq.SUB)
    socket.set(zmq.RCVTIMEO, 60000)
    socket.connect(address)
    # Subscribe to all available topics.
    self.hashblock = ZMQSubscriber(socket, b"hashblock")
    self.hashtx = ZMQSubscriber(socket, b"hashtx")
    self.rawblock = ZMQSubscriber(socket, b"rawblock")
    self.rawtx = ZMQSubscriber(socket, b"rawtx")
    self.extra_args = [["-zmqpub%s=%s" % (sub.topic.decode(), address) for sub in [self.hashblock, self.hashtx, self.rawblock, self.rawtx]], []]
    self.add_nodes(self.num_nodes, self.extra_args)
    self.start_nodes()