'Test binding a queue to an exchange using a routing key.'

def test_queue_bind(self):

    mock_queue = Mock()
    mock_exchange = Mock()
    mock_routing_key = Mock()
    self.my_channel.queue_bind(mock_queue, mock_exchange, mock_routing_key)
    self.mock_broker.bind.assert_called_with(mock_exchange, mock_queue, mock_routing_key)
