'BlockingChannel: ChannelClosed raised when passive-declaring unknown queue'

def test(self):

    connection = self._connect()
    ch = connection.channel()
    q_name = ('TestPassiveQueueDeclareOfUnknownQueueRaisesChannelClosed_q_' + uuid.uuid1().hex)
    with self.assertRaises(pika.exceptions.ChannelClosed) as ex_cm:
        ch.queue_declare(q_name, passive=True)
    self.assertEqual(ex_cm.exception.args[0], 404)
