def METHOD_NAME():
    client = create_client()
    message = create_message()
    batch = mock.Mock(spec=client._batch_class)
    sequencer = unordered_sequencer.UnorderedSequencer(client, "topic_name")
    sequencer._set_batch(batch)
    sequencer.publish(message)
    batch.publish.assert_called_once_with(message)