def METHOD_NAME(
    mocked_set_autowithdrawal, app_no_node, trezor_wallet_acc3
):
    wallet = trezor_wallet_acc3
    autowithdrawal_api_response = """
            {
                "entity": "automaticWithdrawal",
                "item": {
                    "id": "some_important_withdrawal_id",
                    "minBtcThreshold": "0.05",
                    "isActive": false,
                    "isCanceled": false,
                    "createdAt": "2022-01-07T02:14:56.070Z",
                    "walletId": "******************",
                    "walletAddressId": null
                }
            }
        """
    mocked_set_autowithdrawal.return_value = json.loads(autowithdrawal_api_response)
    specter = app_no_node.specter
    storage_manager = specter.service_unencrypted_storage_manager
    swan = SwanServiceWithMockedMethods(True, specter)
    with app_no_node.test_request_context():
        swan.set_autowithdrawal_settings(wallet, 0.05)
        assert storage_manager.get_current_user_service_data("mocked_swan") == {
            "autowithdrawal_id": "some_important_withdrawal_id",
            "withdrawal_threshold": 0.05,
        }