def METHOD_NAME(self, helpers_mock):
    target_index = AddonIndexer.get_index_alias()  # the default index
    Reindexing.objects.create(
        alias=target_index, old_index='old_index', new_index='new_index'
    )
    addon1 = addon_factory()
    addon2 = addon_factory()
    fake_extract = {
        addon1.pk: mock.Mock(),
        addon2.pk: mock.Mock(),
    }
    with mock.patch.object(
        AddonIndexer, 'extract_document', lambda a: fake_extract[a.pk]
    ):
        index_objects(
            queryset=Addon.objects.filter(id__in=(addon1.pk, addon2.pk)),
            indexer_class=AddonIndexer,
        )
    bulk_mock = helpers_mock.bulk
    assert bulk_mock.call_count == 1
    # We're reindexing and didn't specify an index: index_object() is going
    # to index our objects on both the old and the new indices instead of
    # the alias.
    assert bulk_mock.call_args[0][1] == [
        {
            '_source': fake_extract[addon1.pk],
            '_id': addon1.pk,
            '_index': 'new_index',
        },
        {
            '_source': fake_extract[addon1.pk],
            '_id': addon1.pk,
            '_index': 'old_index',
        },
        {
            '_source': fake_extract[addon2.pk],
            '_id': addon2.pk,
            '_index': 'new_index',
        },
        {
            '_source': fake_extract[addon2.pk],
            '_id': addon2.pk,
            '_index': 'old_index',
        },
    ]