def METHOD_NAME(api_client: TestClient, unique_recipe: Recipe, unique_user: TestUser):
    # Create Comment
    create_data = random_comment(unique_recipe.id)
    response = api_client.post(api_routes.comments, json=create_data, headers=unique_user.token)
    assert response.status_code == 201
    comment_id = response.json()["id"]
    # Update Comment
    update_data = random_comment(unique_recipe.id)
    update_data["id"] = comment_id
    response = api_client.put(api_routes.comments_item_id(comment_id), json=update_data, headers=unique_user.token)
    assert response.status_code == 200
    response_data = response.json()
    assert response_data["recipeId"] == str(unique_recipe.id)
    assert response_data["text"] == update_data["text"]
    assert response_data["userId"] == unique_user.user_id