def METHOD_NAME(
    self, batch_indexer, factories, get_indexed_ann
):
    annotations = factories.Annotation.create_batch(3)
    ids = [a.id for a in annotations]
    batch_indexer.index()
    for _id in ids:
        assert get_indexed_ann(_id) is not None