'Basic test that uses a fake routing_key_index'

def test_multiple_routing_key_indexes(self):

    prepared = self.session.prepare('\n                                                INSERT    INTO    test3rf.test    (k,    v)    VALUES        (?,    ?)\n                                                ')
    self.assertIsInstance(prepared, PreparedStatement)
    prepared.routing_key_indexes = [0, 1]
    bound = prepared.bind((1, 2))
    self.assertEqual(bound.routing_key, '\x00\x04\x00\x00\x00\x01\x00\x00\x04\x00\x00\x00\x02\x00')
    prepared.routing_key_indexes = [1, 0]
    bound = prepared.bind((1, 2))
    self.assertEqual(bound.routing_key, '\x00\x04\x00\x00\x00\x02\x00\x00\x04\x00\x00\x00\x01\x00')
