def METHOD_NAME(
    db, admin_user, reopen_case_setup
):
    completed_case, completed_work_items = reopen_case_setup(
        models.Case.STATUS_COMPLETED,
        [models.WorkItem.STATUS_COMPLETED],
    )
    api.reopen_case(completed_case, completed_work_items, admin_user)
    completed_case.refresh_from_db()
    assert completed_case.status == models.Case.STATUS_RUNNING
    assert completed_work_items[0].status == models.WorkItem.STATUS_READY