def METHOD_NAME(
    staff_api_client, permission_manage_payments, voucher
):
    # given
    transaction_item = TransactionItem.objects.create(
        private_metadata={PRIVATE_KEY: PRIVATE_VALUE}
    )
    transaction_id = graphene.Node.to_global_id(
        "TransactionItem", transaction_item.token
    )
    # when
    response = execute_clear_private_metadata_for_item(
        staff_api_client, permission_manage_payments, transaction_id, "TransactionItem"
    )
    # then
    assert item_without_private_metadata(
        response["data"]["deletePrivateMetadata"]["item"],
        transaction_item,
        transaction_id,
    )