def METHOD_NAME(
    sync_webhook, async_app_factory, sync_type, permission_manage_payments
):
    any_app, _ = async_app_factory(any_webhook=True)
    any_app.permissions.add(permission_manage_payments)
    webhooks = get_webhooks_for_event(sync_type)
    assert set(webhooks) == {sync_webhook}