def METHOD_NAME(
    self, svc, annotations, groups, factories
):
    # Update the document associated with ``annotations[1]``...
    annotations[1].document.title = "Bleep bloop"
    # this will create the newest/latest document in the DB
    new_annotation = factories.Annotation(
        groupid=groups["target_group"].pubid, shared=True
    )
    docs = svc.fetch_by_groupid(groupid=groups["target_group"].pubid)
    # ``new_annotation`` has the most recently-updated document, followed by
    # the updated ``annotations[1]``, then the other two annotation's
    # documents in reverse created (i.e. updated) order
    assert docs == [
        new_annotation.document,
        annotations[1].document,
        annotations[2].document,
        annotations[0].document,
    ]