'Compares the routing key generated by composite partition key using the model with the one generated by the equivalent
bound statement
@since 3.2
@jira_ticket PYTHON-535
@expected_result they should match
@test_category object_mapper'

def test_routing_key_generation_multi(self):

    prepared = self.session.prepare('\n                                        INSERT    INTO    {0}.basic_model_routing_multi    (k,    v)    VALUES        (?,    ?)\n                                        '.format(DEFAULT_KEYSPACE))
    bound = prepared.bind((1, 2))
    mrk = BasicModelMulti._routing_key_from_values([1, 2], self.session.cluster.protocol_version)
    simple = SimpleStatement('')
    simple.routing_key = mrk
    self.assertEqual(bound.routing_key, simple.routing_key)
