def METHOD_NAME(
    self, db_session, meta_attrs, doc_title, final_title
):
    meta_attrs["value"] = ["attr_title"]
    meta_attrs["document"] = document = Document(title=doc_title)
    db_session.add(document)
    create_or_update_document_meta(session=db_session, **meta_attrs)
    document = db_session.query(Document).get(document.id)
    assert document.title == final_title