'ChannelClosed raised when consuming from unknown queue'

def test(self):

    connection = self._connect()
    ch = connection.channel()
    q_name = ('TestBasicConsumeFromUnknownQueueRaisesChannelClosed_q_' + uuid.uuid1().hex)
    with self.assertRaises(pika.exceptions.ChannelClosed) as ex_cm:
        ch.basic_consume((lambda *args: None), q_name)
    self.assertEqual(ex_cm.exception.args[0], 404)
