'compound batch inherits the first routing key of the first added statement (Simplestatement is first)'

def test_inherit_first_rk_simple_statement(self):

    bound = self.prepared.bind((1, None))
    batch = BatchStatement()
    batch.add('ss    with    no    rk')
    batch.add(self.simple_statement)
    batch.add(bound)
    for i in range(10):
        batch.add(self.prepared, (i, i))
    self.assertIsNotNone(batch.routing_key)
    self.assertEqual(batch.routing_key, self.simple_statement.routing_key)
