def METHOD_NAME(setup_retirement_states):  # lint-amnesty, pylint: disable=redefined-outer-name, unused-argument
    user = UserFactory.create(username='user0', email="user0@example.com")
    username = user.username
    user_email = user.email
    call_command('retire_user', username=username, user_email=user_email)
    user = User.objects.get(username=username)
    retired_user_status = UserRetirementStatus.objects.all()[0]
    assert retired_user_status.original_username == username
    assert retired_user_status.original_email == user_email
    # Make sure that we have changed the email address linked to the original user
    assert user.email != user_email