'Test to validate that custom payloads work with batch queries
creates a batch query and ensures that custom payloads are passed to C*. A custom
query provider is used with C* so we can validate that same custom payloads are sent back
with the results
@since 2.6
@jira_ticket PYTHON-280
@expected_result valid custom payloads should be sent and received
@test_category queries:custom_payload'

def test_custom_query_batching(self):

    batch = BatchStatement(BatchType.LOGGED)
    for i in range(10):
        batch.add(SimpleStatement('INSERT    INTO    test3rf.test    (k,    v)    VALUES    (%s,    %s)'), (i, i))
    self.validate_various_custom_payloads(statement=batch)
