def METHOD_NAME(req, index, factories, db_session):
    annotation_1 = factories.Annotation(userid="luke", target_uri="http://example.org/")
    annotation_1._target_uri_normalized = "http://example.org"
    annotation_2 = factories.Annotation(userid="luke", target_uri="http://example.net/")
    annotation_2._target_uri_normalized = "http://example.net"
    db_session.flush()
    indexer = index.BatchIndexer.return_value
    indexer.index.return_value = None
    normalize_uris.normalize_annotations(req)
    indexer.index.assert_called_once_with({annotation_1.id, annotation_2.id})